 At Campeche, the Maya amassed a strong force and attacked the city; the Spanish were able to fight them off, a battle in which the elder Montejo was almost killed.Aj Canul, the lord of the attacking Maya, surrendered to the Spanish.After this battle, the younger Francisco de Montejo was despatched to the northern Cupul province, where the lord Naabon Cupul reluctantly allowed him to found the Spanish town of Ciudad Real at Chichen Itza.