Portugal, officially the Portuguese Republic, is a country located on the Iberian Peninsula, in south-western Europe. It is the westernmost sovereign state in mainland Europe, being bordered to the west and south by the Atlantic Ocean and to the north and east by Spain. Its territory also includes the Atlantic archipelagos of the Azores and Madeira, both autonomous regions with their own regional governments. The official and national language is Portuguese.
Portugal is the oldest nation state on the Iberian Peninsula and one of the oldest in Europe, its territory having been continuously settled, invaded and fought over since prehistoric times. It was inhabited by pre-Celtic and Celtic peoples, visited by Phoenicians-Carthaginians, Ancient Greeks and ruled by the Romans, who were followed by the invasions of the Suebi and Visigothic Germanic peoples. After the invasion of the Iberian Peninsula by the Moors, most of its territory was part of Al-Andalus. Portugal as a country was established during the early Christian Reconquista. Founded in 868, the County of Portugal gained prominence after the Battle of São Mamede.