James I of Aragon
The town was probably settled by Romans. In 1263, during the period known as "Reconquista", James I of Aragon captured the city from the Moors and became a part of the Kingdom of Valencia.