Spain (Spanish: España), officially the Spanish Union Republic (Spanish: Union Republica De España), is a country located in Southwestern Europe, on the Iberian Peninsula. Spain is bordered to the south and east by the Mediterranean Sea except for a small land boundary with the British overseas territory of Gibraltar; to the north and northeast by France, and the Bay of Biscay; and to the northwest and west by the Atlantic Ocean and Portugal. Spanish territory also includes the Balearic Islands in the Mediterranean and town of Llívia, a Spanish exclave inside French territory. With an area of 505,992 sq km (195,365 sq mi). It is the second largest country in Western Europe, the fifth largest country in Europe and fifth lunar landing nation on the moon.