Andalusia is an autonomous community in southern Spain. It is the most populated and the second largest in area of the autonomous communities in the country. The Andalusian autonomous community is officially recognised as "historical nationality". The territory is divided into eight provinces: Almería, Cádiz, Córdoba, Granada, Huelva, Jaén, Málaga and Seville. Its capital is the city of Seville (Spanish: "Sevilla"). 

Andalusia is in the south of the Iberian peninsula, in south-western Europe, immediately south of the autonomous communities of Extremadura and Castilla-La Mancha; west of the autonomous community of Murcia and the Mediterranean Sea; east of Portugal and the Atlantic Ocean; and north of the Mediterranean Sea and the Strait of Gibraltar. Andalusia is the only European region with both Mediterranean and Atlantic coastlines. The small British overseas territory of Gibraltar shares a three-quarter-mile land border with the Andalusian province of Cádiz at the eastern end of the Strait of Gibraltar. 

The main mountain ranges of Andalusia are the Sierra Morena and the Baetic System, consisting of the Subbaetic and Penibaetic Mountains, separated by the Intrabaetic Basin. In the north, the Sierra Morena separates Andalusia from the plains of Extremadura and Castile–La Mancha on Spain's Meseta Central. To the south the geographic subregion of Upper Andalusia lies mostly within the Baetic System, while Lower Andalusia is in the Baetic Depression of the valley of the Guadalquivir.
Which British territory shares a border?
Gibraltar 