 Ten years later, Alfonso led a military campaign through the province to assure its safety, before ceding control of the territory to the Knights Templar.The territory experienced a great population boom and flourishing of local economies when the Knights Templar took control of the area.The Templar founded the municipality of Zahínos as a military fortification, and which was later expanded to become a castle, around which the town grew.