|Border stone between Spain and France, for the municipalities of Llívia (Girona) and Angoustrine-Villeneuve-des-Escaldes (Pyrénées-Orientales).|
|province of Girona.|
|• Alcalde||Josep Pous Rodríguez (2007) (CIU)|
|• Total||12.83 km2 (4.95 sq mi)|
|Elevation||1,224 m (4,016 ft)|
|• Density||120/km2 (320/sq mi)|
|Time zone||CET (UTC+1)|
|• Summer (DST)||CEST (UTC+2)|
Llívia (Catalan pronunciation: [ˈʎiβiə]) is a town of Cerdanya, province of Girona, Catalonia, Spain. It is a Spanish exclave within the French département of Pyrénées-Orientales. In 2009, the municipality of Llívia had a total population of 1,589.
The Esteve Pharmacy, located in Llívia, is a medieval pharmacy, one of the oldest in Europe, founded at the beginning of the 15th century. It keeps albarelli, a medieval type of ceramic jar used in pharmacies, as well as antique drugs, and one of the most important collections of prescription books in Europe.
Llívia was the site of an Iberian oppidum which commanded the region and was named Julia Libica by the Romans. It was the ancient capital of Cerdanya in antiquity, before being replaced by Hix (commune of Bourg-Madame, France) in the Middle Ages. During the Visigothic period, its citadel, the castrum Libiae, was held by the rebel Paul of Narbonne against King Wamba in 672. As the "town (or "city") of Cerdanya," 8th century Llívia may also have been the scene of the siege by which governor Abdul Rahman Al Ghafiqi of Muslim Spain, later to die in the battle of Poitiers (732), rid himself of the Moorish (Berber) rebel Munnuza, who had allied himself with Duke Eudo of Aquitaine to improve the chances of his rebellion.
In 1659, the Treaty of the Pyrenees ceded the comarques of Roussillon, Conflent, Capcir, Vallespir, and northern Cerdanya ("Cerdagne") to the French crown. Llívia did not become part of the French kingdom as the treaty stipulated that only villages were to be ceded to France, and Llívia was considered a city and not a village because of its status as the ancient capital of Cerdanya.
- Idescat. Fitxes municipals. Llívia
- Monumenta Germaniae Historica, Auctores Antiquissimi, p. 361, and Roger Collins, The Arab Conquest of Spain, 710-797, Malden, Massachusetts: Blackwell Publishers, 1989, p. 89
- Capdevila i Subirana, Joan: Historia del deslinde de la frontera Hispano-Francesa. Del tratado de los Pirineos (1659) a los tratados de Bayona (1856–1868), Ed. Ministerio de Fomento, Centro Nacional de Información Geográfica, Madrid, 2009, pp. 146–149. ISBN 978-84-416-1480-2 (Spanish)
- Robinson GWS (1959). Exclaves. Annals of the Association of American Geographers 49 (3), 283–295 doi:10.1111/j.1467-8306.1959.tb01614.x
- Panareda Clopés, Josep Maria; Rios Calvet, Jaume; Rabella Vives, Josep Maria (1989). Guia de Catalunya, Barcelona: Caixa de Catalunya. ISBN 84-87135-01-3 (Spanish). ISBN 84-87135-02-1 (Catalan).