Villarreal was founded on 20 February 1274 by King James I of Aragon (hence its royal status), to strengthen his reconquest of Eastern Spain from the Moors. It was placed strategically on the ancient Via Augusta 65 km north from Valencia, and in the outskirts of the then-Muslim stronghold of Borriana. It was founded with royal status, with representation in the Valencian Parliament and Delegation of the Kingdom, and had the privilege of using the royal standard as its ensign. Villarreal was part of the royal sector of the Valencian Parliament and had an active say in its affairs.