The Arab town, or medina, grew across the alcazar (castle) over a promontory overlooking the Manzanares River. The title Majerit to start with appears in advert 932, if the Christian king Ramiro II of León razed the town’s walls, but there are actually traces of before (even prehistoric) habitation. https://jeffreyngync.blogproducer.com/32917065/fascination-about-madrid