Montjuïc Castle (Template:Lang-ca, Template:Lang-es) is an old military fortress, with roots dating back from 1640, currently serving as a Barcelona municipal facility, built on top of Montjuïc hill in Barcelona, Catalonia, Spain.
The foundation stone for the basic fortification was laid out in 1640. A year later, in January 1641, the fort saw its first battle, during the Catalan Revolt when the Principality of Catalonia challenged Spain's authority. On orders from the King of Spain, Pedro Fajardo, heading an army of 26,000 men, proceeded to crush the revolt. The Spanish recaptured several cities, but they were defeated at the Battle of Montjuïc by the Catalan rebels, led by Francesc de Tamarit.
Fifty years later, in 1694, new bastions and battlements were erected and the fortress became a castle.
The old fort was however demolished in 1751 by the Spanish engineer & architect Juan Martin Cermeño, creating the current structure, still standing. The final shape of the castle took form during 1779 and 1799, when major construction works took place in order to improve the castle and accommodate the needs. It was also during this time that the castle was equipped with 120 cannons.
During the Napoleonic Wars, the French Army entered Barcelona, and, on orders from Napoleon, they also captured the castle without firing a shot as the troops guarding the castle were ordered not to fight the French.
During the 20th century, the castle became a military museum. In June 1963, Francisco Franco inaugurated the Military Armor Museum, the official name given to the institution.
In April 2007, the government transferred the castle to Barcelona City Council. Following discussions over the next months, the castle became a municipal facility. Subsequently, in 2010 the museum was closed and the City Council started a project of restoration and waterproofing of the roof and a watchtower.
The current plans for the castle include L’Espai de la Memòria, El Centre d’Interpretació de la Muntanya de Montjuïc, and cultural activities.
The castle can be accessed by the Montjuïc cable car, a gondola lift that has its upper station near the castle entrance and connects, via the Montjuïc funicular, with the Barcelona Metro at Paral·lel station.