Alfonso X of Castile
Between 12th and 13th century, the location was easily defended by natural defenses, but with the advent of canons the site began to be considered vulnerable. By the second half of the 13th century, a new settlement letter was issued by King D. Alfonso X of Castile. By 1280, from an inscription, the urban perimeter wall ordered constructed by Alfonso X of Castile or, at least, the line that terminated at the "Rua do Arco" was concluded.