Alfonso I
The town was reconquered from the Moors by Alfonso I of Aragon in 1107.