Valencia (in Valencian and officially València) is a municipality and a city of Spain, capital of the homonymous province and of the Valencian Community. With a population of 791,413 inhabitants (INE, 2018), which rises to 1,559,908 inhabitants if its urban space is included, it is the third most populous city and metropolitan area in Spain, behind Madrid and Barcelona.
Valencia was founded by the Romans as a colony in the year 138 a. C., being consul Tenth June Gross Galaico, and was named Valentia Edetanorum. Several centuries later, in 711, the Muslims occupied the city contributing their language, religion and customs, such as the introduction of irrigation systems and the introduction of new crops. In 1238 the Christian king Jaime I of Aragon reconquered the city, and distributed the lands among the nobles who helped him conquer it, as testified in the Llibre del Repartiment, as well as created a new law for the city, the Fueros of Valencia, which were extended to the rest of the kingdom of Valencia. In the eighteenth century, Felipe V repealed the privileges as punishment for the kingdom of Valencia for aligning with the Austracists in the Spanish succession war. In 1982, Valencia was established as the capital of the current Valencian Community, as stated in the Statute of Autonomy.