Montjuïc Castle dominates Barcelona from its hilltop perch at 173 meters elevation, an imposing star-shaped fortress constructed in 1640 that offers 360-degree views encompassing the port, Mediterranean Sea, and surrounding Baix Llobregat plains. Originally built as a military fortress to defend against invasion, the castle served various roles throughout centuries of Spanish conflicts, including the War of Spanish Succession and Spanish Civil War, though its darker history includes political repression. Today transformed into a cultural venue hosting open-air concerts and art exhibitions, the castle is accessible via funicular and cable car, making it both a historical monument and a dynamic gathering place for contemporary cultural events.