From the Wikipedia page 
Llívia (Catalan pronunciation: [ˈʎiβiə]; Spanish: Llivia [ˈʎiβja]) is a town in the comarca of Cerdanya, province of Girona, Catalonia, Spain. It is a Spanish exclave surrounded by the French département of Pyrénées-Orientales. In 2009, the municipality of Llívia had a total population of 1,589. It is separated from the rest of Spain by a corridor about 1.6 km (1.0 mile) wide, which includes the French communes of Ur and Bourg-Madame.