The Order of San Julián, thus deprived of its foothold in Castile, was compensated for its loss of the Order of Truxillo and its possessions by King Ferdinand III, who united León and Castile in 1230.