Granada ( ; ) is the capital city of the province of Granada, in the autonomous community of Andalusia, Spain. Granada is located at the foot of the Sierra Nevada mountains, at the confluence of four rivers, the Darro, the Genil, the Monachil and the Beiro. Ascribed to the Vega de Granada comarca, the city sits at an average elevation of above sea level 50 km from the Mediterranean coast, the Costa Tropical. With a population of 233,532 as of 2024, it is the 20th-largest city in Spain and is an important wine growing region. It was the last Muslim stronghold in Islamic Spain.

Nearby is the Sierra Nevada Ski Station, where the FIS Alpine World Ski Championships 1996 were held. Its nearest airport is Federico García Lorca Granada-Jaén Airport.

The area was settled since ancient times by Iberians, Romans, and Visigoths. The current settlement became a major city of Al-Andalus in the 11th century during the Zirid Taifa of Granada. In the 13th century it became the capital of the Emirate of Granada under Nasrid rule, the last Muslim-ruled state in the Iberian Peninsula. Granada was conquered in 1492 by the Catholic Monarchs and progressively transformed into a Christian city over the course of the 16th century.

The Alhambra, a medieval Nasrid citadel and palace, is located in Granada. It is one of the most famous monuments of Islamic architecture and one of the most visited tourist sites in Spain. Islamic-period influence and Moorish architecture are also preserved in the Albaicín neighborhood and other medieval monuments in the city. The 16th century also saw a flourishing of Mudéjar architecture and Renaissance architecture, followed later by Baroque and Churrigueresque styles. The University of Granada has an estimated 47,000 undergraduate students spread over five different campuses in the city. The pomegranate () is the heraldic device of Granada.

Etymology Granada's historical name in the Arabic language was (). Both the name's meaning and origin are uncertain and have been debated. The toponym definitely existed prior to the Zirid period in the 11th century. It probably first appeared in the 9th century and it is found in Arabic sources from the 10th century.

The word Gárnata (or Karnata) possibly meant "hill of strangers". Another meaning might be "hill of pilgrims". It could even have been of Berber origin. Another theory is that it derived from Latin (or its plural ), meaning "seed", "beads", or a "scarlet colour", which would have been adapted into Arabic as or . The Arab chronicler Al-Maqqari believed that it came from the Latin word for pomegranate, . In either case, the Latin word may have been used not in its primary sense, but in the more derived sense of "red", referring to the colour of the area's soil and its buildings. This would also mirror the etymology of the name of the Alhambra.

History

Pre-Umayyad history

The region surrounding what today is Granada has been populated since at least 5500BC. Archeological artifacts found in the city indicate that the site of the city, including the area around the present-day avenue of Gran Vía de Colón, was inhabited since the Bronze Age. The most ancient ruins found in the area belong to an oppidum called Ilturir, founded by the Iberian Bastetani tribe around 650BC. The name Elibyrge is also attested in reference to this area. This settlement became later known as Iliberri or Iliberis. In 44BC Iliberis became a Roman colony and in 27BC it became a Roman municipium named Florentia Iliberritana ('Flourishing Iliberri').

The identification of present-day Granada with the Roman-era Iliberis and the historical continuity between the two settlements has long been debated by scholars. Modern archeological digs on the Albaicín hill have uncovered finds demonstrating the presence of a significant Roman town on that site. Little is known, however, about the history of the city in the period between the end of the Roman era and the 11th century. An important Christian synod circa 300 AD, the Synod of Elvira, took place near this area (the name Elvira being derived from the name Iliberri), but there is no concrete archeological or documentary evidence establishing the exact location of the meeting. It may have taken place in the former Roman town or it may have taken place somewhere in the surrounding region, which was known as Elvira.

Founding and early history The Umayyad conquest of Hispania, starting in 711AD, brought large parts of the Iberian Peninsula under Moorish control and established al-Andalus. The earliest Arabic historical sources mention that a town named Qashtīliya, later known as Madīnat Ilbīra (Elvira), was located on the southern slopes of the Sierra de Elvira mountains (near present-day Atarfe) and became the most important settlement in the area. A smaller settlement and fortress (ḥiṣn) named Ġarnāṭa (also transliterated as Gharnāṭa) existed on the south side of the Darro River or on the site of the current Albaicín neighbourhood. The latter had a mainly Jewish population and thus was also known as Gharnāṭat al-Yahūd ("Gharnāṭa of the Jews"). The district around the city was known as Kūrat Ilbīra (roughly "Province of Elvira"). After 743 the town of Ilbīra was settled by soldiers from the region of Syria who played a role in supporting Abd al-Rahman I, the founder of the Emirate of Córdoba and a new Umayyad dynasty. In the late 9th century, during the reign of Abdallah (r. 844–912), the city and its surrounding district were the site of conflict between muwallads (Muslim converts) who were loyal to the central government and Arabs, led by Sawwār ibn Ḥamdūn, who resented them.

At the beginning of the 11th century, the area became dominated by the Zirids, a Sanhaja Berber group and offshoot of the Zirids who ruled parts of North Africa. This group became an important contingent in the army of ʿAbd al-Malik al-Muẓaffar, the prime minister of Caliph Hisham II (r. 976–1009) and successor to Ibn Abi ʿAmir al-Mansur (Almanzor) as de facto ruler of the Caliphate of Córdoba. For their service, the Zirids were granted control of the province of Elvira. When the Caliphate collapsed after 1009 and the Fitna (civil war) began, the Zirid leader Zawi ben Ziri established an independent kingdom for himself, the Taifa of Granada. Arab sources such as al-Idrisi consider him to be the founder of the city of Granada. His great-grandnephew's surviving "memoirs," known as the Tibyan – the only ones for the Spanish "Middle Ages" – provide considerable detail for this brief period. Because Madīnat Ilbīra was situated on a low plain and, as a result, difficult to protect from attacks, the ruler decided to transfer his residence to the higher situated area of Ġarnāṭa. According to Arabic sources Ilbīra was razed during the Fitna, afterwards it was not restored at its previous place and instead Ġarnāṭa, the former Jewish town, replaced it as the main city. In a short time this town was transformed into one of the most important cities of al-Andalus. Until the 11th century it had a mixed population of Christians, Muslims, and Jews.

The Zirids built their citadel and palace, known as the al-Qaṣaba al-Qadīma ("Old Citadel"), on the hill now occupied by the Albaicín neighborhood. It was connected to two smaller fortresses on the Sabika hill (site of the future Alhambra) and Mauror hill to the south. The city around it grew during the 11th century to include the Albaicín, the Sabika, the Mauror, and a part of the surrounding plains. The city was fortified with walls encompassing an area of approximately 75 hectares. The northern part of these walls, near the Albaicin citadel, have survived to the present day, along with two of its gates: Bāb al-Unaydar (now called Puerta Monaita in Spanish) and Bāb al-Ziyāda (now known as Arco de las Pesas or Puerta Nueva). The city and its residences were supplied with water through an extensive network of underground cisterns and pipes. On the Darro River, along the wall connecting the Zirid citadel with the Sabika hill, was a sluice gate called Bāb al-Difāf ("Gate of the Tambourines"), which could be closed or opened to control the flow of the river and retain water if necessary. The nearby Bañuelo, a former hammam (bathhouse), also likely dates from this time, as does the former minaret of a mosque in the Albaicín, now part of the Church of San José.

Under the Zirid kings Habbus ibn Maksan and Badis, the most powerful figure was the Jewish administrator known as Samuel ha-Nagid (in Hebrew) or Isma'il ibn Nagrilla (in Arabic). Samuel was a highly educated member of the former elites of Cordoba, who fled that city after the outbreak of the Fitna. He eventually found his way to Granada, where Habbus ibn Maksan appointed him his secretary in 1020 and entrusted him with many important responsibilities, including tax collection. Under Badis, he even took charge of the army. During this period, the Muslim king was looked upon as a mainly symbolic figurehead. Granada was the centre of Jewish Sephardi culture and scholarship. According to Daniel Eisenberg:

After Samuel's death, his son Joseph took over after his position but proved to lack his father's diplomacy, bringing on the 1066 Granada massacre, which ended the Golden age of Jewish culture in Spain.

From the late 11th century to the early 13th century, Al-Andalus was dominated by two successive North African Berber empires. The Almoravids ruled Granada from 1090 and the Almohads from 1166. Granada also served as an administrative capital of Almoravid rule in al-Andalus. Evidence from the artistic and archeological remains of this period suggest that the city thrived under the Almoravids but declined under the Almohads. Remnants of the Almohad period in the city include the Alcázar Genil, built in 1218–1219 (but later redecorated under the Nasrids), and possibly the former minaret attached to the present-day Church of San Juan de los Reyes in the Albaicin.

Nasrid Emirate of Granada

In 1228 Idris al-Ma'mun, the last effective Almohad ruler in al-Andalus, left the Iberian Peninsula. As Almohad rule collapsed local leaders and factions emerged across the region. With the Reconquista in full swing, the Christian kingdoms of Castile and Aragon – under kings Ferdinand III and James I, respectively – made major conquests across al-Andalus. Castile captured Cordoba in 1236 and Seville in 1248. Meanwhile, the ambitious Ibn al-Ahmar (Muhammad I) established what became the last and longest reigning Muslim dynasty in the Iberian peninsula, the Nasrids, who ruled the Emirate of Granada. On multiple occasions Ibn al-Ahmar aligned himself with Ferdinand III, eventually agreeing to become his vassal in 1246. Granada thereafter became a tributary state to the Kingdom of Castile, although this was often interrupted by wars between the two states. The political history of the emirate was turbulent and intertwined with that of its neighbours. The Nasrids sometimes provided refuge or military aid to Castilian kings and noblemen, even against other Muslim states, while in turn the Castilians provided refuge and aid to some Nasrid emirs against other Nasrid rivals. On other occasions the Nasrids attempted to leverage the aid of the North African Marinids to ward off Castile, although Marinid interventions in the Peninsula ended after Battle of Rio Salado (1340).