 The terms also specified that the Castillian troops would be allowed to enter the alcázar no later than a month later.During that time, the city was prepared to be occupied, mosques were purified (so that they could become Christian temples) as well as the places where the Christian armies would settle; they reserved the best houses for the lords and chiefs.Once this term was over, the Moorish king Axataf handed the keys of the city to King Ferdinand.