 In 1126 King Alfonso VII was granted the Loyalty title.On the other hand, says legend, the famous Queen Lupa, who persecuted the disciples of the apostle Santiago, was a native of this town and resided here.Later in the nineteenth century it was accorded the status of a "Villa".