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.
During the 16th century, productive farm land was extended and enhanced by drilling wells to obtain water and convert dry land into irrigated fields, making it possible to begin commercial agriculture in the 17th century.