In 1245 the Town was conquered by Jaume I and was gifted to Princess Berenguela in 1268. In 1409 it became independent and in 1577 the first church of the town was erected, separating the town from Xalo. After the decree of Felipe III where expulsion of the Moors in 1609 was agreed, Mosquera remained deserted. In 1610 the town of Alcalali was awarded with its “Carta Pobla”, this gives legacy to Alcalali, attributing legal rights. The town of Mosquera is repopulated with the arrival of people from Mallorca and Catalonia. Finally in 1616 Alcalali barony was created in favour of Ximen Pérez Rois of Liory and Petursa.