During the Civil War, the hilltop anti-aircraft battery defended Barcelona from air raids. The Canons shantytown later grew around it and survived until 1990.