History of Madrid "Madrid" evolved from the Mozarabic "Matrit", which is still in the Madrilenian gentilic. The site of modern-day Madrid has been controlled since prehistoric times, and archaeological research found a small Visigothic village nearby. In the mid-9th century, Muhammad I of Córdoba constructed a small castle where the Palacio Real stands today. The Moors built a citadel, al-Mudayna, around this castle. They named the area after the nearby Manzanares River, which the Muslims called al-Majrīṭ (Arabic: "source of water"). From this came the name "Majerit", later spelled "Madrid". The Moors controlled the citadel until Alfonso VI of León and Castile conquered
El Madrid de los Austrias and infrastructure projects, in order to represent their power and wealth through their shaping of public space. El Madrid de los Austrias subsequently took the name of its builders, the Spanish Habsburgs, who are known as "the Austrians" in Spanish. Its typical architectural style ranges from the late Renaissance through the early Baroque. The most notable Habsburg construction and the essential part of El Madrid de los Austrias is the Plaza Mayor, in the middle of which stands a statue of its builder, King Philip III. Laid out in 1619, the Plaza Mayor is a large, rectangular plaza with arcades