The city was thriving and was given the title of "Villa", whose administrative district extended from the Jarama in the east to the river Guadarrama in the west.
Po razpadu Kordovskega kalifata, je bil Madrid vključen v taifa Toledo.