Llívia is a little Catalan town and also and an exclave of Spain. It is surrounded by France. The Spanish border is about 1 kilometer away. It belongs to Cerdanya, province of Girona. The French territory that surrounds it is the Pyrénées-Orientales département. Llivia had a total population of 1252 in 2005.
Llívia is located at.
People lived there in Roman times. Originally, the settlement began as a Roman fort, which was called an oppidum. The name of the oppidum was Julia Libica. The city was the capital of Cerdagne in antiquity. In the early Middle Ages, Hix (a commune of Bourg-Madame, France) became the capital of the region.