In 1249, Paio Peres Correia and the Order of Santiago helped Afonso III of Portugal sweep up the final Moorish possessions in the Algarve. The possessions of the Order of Santiago in Portugal were expanded and confirmed by Afonso III in 1255.