Spain is a country located in southwestern Europe. It borders Portugal to the west, France and Andorra to the northeast, and Morocco to the south. Spain has 17 autonomous communities and is governed as a parliamentary constitutional monarchy. Spanish is the main language, though Basque, Catalan, and Galician are co-official in some regions. The majority of Spaniards identify as Catholic. Key events in Spain's history include the Muslim conquest in 711, the end of the Reconquista in 1492 with the discovery of the Americas, and the Spanish Civil War from 1936-1939.