In the middle of the seventh century the decline of the Visigothic city of Recópolis begins, first with the simultaneous fire of the two palaces and then with the advance of the Muslim troops that occupied this area of the Peninsula in the eighth century. The Arab occupation of Recópolis extended until the ninth century, when it is abandoned, it is when it begins to be used as a quarry to lift the medina and the castle of Zorita.