the revolt began almost simultaneously in lower andalusia and murcia. the rebellion likely started between april and june 1264, when muhammad i's name was struck from the list of alfonso x's loyal vassals. a skirmish took place on 10 july, in which granada defeated castilian forces. in august 1264, the muslim inhabitants of jerez, aided by allies from algeciras and tarifa, attacked the outnumbered royal garrison led by nuño gonzález de lara. the demoralized nuño deserted his post and the alcázar was taken on 8 august. according to songs in the "cantigas de santa maria", the mudéjars captured all the soldiers, destroyed the chapel of mary and tried to burn a statue of mary, but the statue miraculously resisted the flames. reinforcements from seville arrived two days later but it was too late.