<Li> 9567 from Spain before 10 February 2007 . </Li> <Li> The . eu domain is also used, shared with other European Union member states . UK Postcode: GX11 1AA </Li> <P> Gibraltar (/ dʒ ɪˈbrɔːltər / ji - BRAWL - tər, / dʒ ɪˈbrɒltər / ji - BROL - tər or other permutations; Spanish pronunciation: (xiβɾalˈtaɾ)) is a British Overseas Territory located on the southern end of the Iberian Peninsula . It has an area of 6.7 km (2.6 sq mi) and shares its northern border with Spain . The Rock of Gibraltar is the major landmark of the region . At its foot is a densely populated city area, home to over 30,000 Gibraltarians and other nationalities . </P> <P> An Anglo - Dutch force captured Gibraltar from Spain in 1704 during the War of the Spanish Succession on behalf of the Habsburg claim to the Spanish throne . The territory was subsequently ceded to Great Britain "in perpetuity" under the Treaty of Utrecht in 1713 . During World War II it was an important base for the Royal Navy as it controlled the entrance and exit to the Mediterranean Sea, which is only eight miles (13 km) wide at this naval "choke point" and remains strategically important to this day with half the world's seaborne trade passing through the strait . Today Gibraltar's economy is based largely on tourism, online gambling, financial services, and cargo ship refuelling services . </P>

What mediterranean landmark is on spains southern border