Gibraltar is a British overseas territory located on the southern end of the Iberian Peninsula at the entrance of the Mediterranean. A peninsula with an area of 6.843 square kilometres (2.642 sq miles), it has a northern border with Spain. The Rock of Gibraltar is the major landmark of the region. At its foot is the densely populated city area, home to almost 30,000 Gibraltarians and other nationalities.
An Anglo-Dutch force captured Gibraltar in 1704 during the War of the Spanish Succession. The territory was subsequently ceded to Britain by Spain under the Treaty of Utrecht in 1713. It was an important base for the British Royal Navy; today its economy is based largely on tourism, financial services, and shipping.
The sovereignty of Gibraltar is a major point of contention in Anglo-Spanish relations as Spain asserts a claim to the territory. Gibraltarians resoundingly rejected proposals for Spanish sovereignty in referenda held in 1967 and 2002. Under its 2006 constitution Gibraltar governs its own affairs, though some powers, such as defence and foreign relations, remain the responsibility of the UK Government.