Madrid is the capital and largest city of Spain, located in the center of the country. It has been Spain's capital since 1561, except for a brief period during the Spanish Civil War (1936-1939) when the government moved to Valencia. Madrid is home to the Spanish Royal Family, government institutions, and renowned cultural sites like the Prado Museum.