Andalusia (UK: , US: ; Spanish: Andalucía [andaluˈθi.a]) is the southernmost autonomous community in Peninsular Spain. It is the most populous and the second largest autonomous community in the country. It is officially recognised as a "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 city is Seville. The seat of the High Court of Justice of Andalusia is located in the city of Granada.
Andalusia is located in the south of the Iberian peninsula, in southwestern 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 1.2 kilometres (3⁄4 mi) land border with the Andalusian portion of the 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.The name "Andalusia" is derived from the Arabic word Al-Andalus (الأندلس). The toponym al-Andalus is first attested by inscriptions on coins minted in 716 by the new Muslim government of Iberia. These coins, called dinars, were inscribed in both Latin and Arabic. The etymology of the name "al-Andalus" has traditionally been derived from the name of the Vandals. Since the 1980s, a number of proposals have challenged this contention. Halm, in 1989, derived the name from a Gothic term, *landahlauts,
and in 2002, Bossong suggested its derivation from a pre-Roman substrate. The region's history and culture have been influenced by the Tartessos, Iberians, Phoenicians, Carthaginians, Greeks, Romans, Vandals, Visigoths, Byzantines, Berbers of North Africa, Jews, Romani, Arab Umayyads, and Moors. During the Islamic Golden Age, Córdoba surpassed Constantinople to be Europe's biggest city, and became the capital of Al Andalus and a prominent center of education and learning in the world, producing numerous philosophers and scientists. The Castilian and other Christian North Iberian nationalities reconquered and settled the area in the latter phases of the Reconquista.
Andalusia has historically been an agricultural region, compared to the rest of Spain and the rest of Europe. Still, the growth of the community in the sectors of industry and services was above average in Spain and higher than many communities in the Eurozone. The region has a rich culture and a strong Spanish identity. Many cultural phenomena that are seen internationally as distinctively Spanish are largely or entirely Andalusian in origin. These include flamenco and, to a lesser extent, bullfighting and Hispano-Moorish architectural styles, both of which are also prevalent in some other regions of Spain.
Andalusia's hinterland is the hottest area of Europe, with cities like Córdoba and Seville averaging above 36 °C (97 °F) in summer high temperatures. Late evening temperatures can sometimes stay around 35 °C (95 °F) until close to midnight and daytime highs of over 40 °C (104 °F) are common. Seville also has the highest average annual temperature in mainland Spain and mainland Europe (19.2 °C, 66.6 °F), closely followed by Almería (19.1 °C, 66.4 °F).