A second and more relevant wave of expansion took place in 1238, when James I defeated the Moors from the Balansiya taifa.
A third phase started in 1243 and ended in 1245, when it met the limits agreed between James I and the heir to the throne of Castile, Alfonso the Wise, who would succeed to the throne as Alfonso X in 1252.