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
Madrid, Surigao del Sur responsible for changing the name Linibunan to Madrid, after the capital city of Spain. From then on, church documents bore the name Madrid Parish and gradually the name Linibunan became extinct. The name Madrid was officially recognized as the name of a new Municipality of Cantilan as embodied in Executive Order No. 561, dated February 2, 1953. The Municipality of Madrid was once a part of Cantilan town. It was only declared Municipality on February 2, 1953. Madrid is blessed to have the Carac-an River. This River serves as the main source of sand and gravel to the entire CarCanMadCarLan