The document summarizes the history of Madrid, Spain from its origins as an inhabited area by Iberian tribes in 1000 BC to its current status as a large cosmopolitan city. Key events include the Roman colonization in 218 BC, becoming the residence of the Royal family in the 15th century, and King Philip II moving the Royal Court to Madrid and establishing it as the capital in the 16th century. This led to a period of great architectural and cultural expansion. In the 20th century, Madrid recovered from the Spanish Civil War to become a major European city, being named the European Cultural Capital in 1992.