Before the 1910 Mexican Revolution, most land in post-independence Mexico was owned by wealthy Mexicans and foreigners, with small holders and indigenous communities possessing little productive land. During the colonial era, the Spanish crown protected holdings of indigenous communities that were mostly engaged in subsistence agriculture to countervail the encomienda and repartimiento systems. In the 19th century, Mexican elites consolidated large landed estates (haciendas) in many parts of the country while small holders, many of whom were mixed-race mestizos, engaged with the commercial economy.
After the War of Independence, Mexican liberals sought to modernize the economy, promoting commercial agriculture through the dissolution of common lands, most of which were then property of the Catholic Church, and indigenous communities. When liberals came to power in the mid nineteenth century, they implemented laws that mandated the breakup and sale of these corporate lands. When liberal general Porfirio Díaz took office in 1877, he embarked on a more sweeping program of modernization and economic development. His land policies sought to attract foreign investment to Mexican mining, agriculture, and ranching, resulting in Mexican and foreign investors controlling the majority of Mexican territory by the outbreak of the Mexican Revolution in 1910. Peasant mobilization against landed elites during the revolution prompted land reform in the post-revolutionary period and led to the creation of the ejido system, enshrined in the Mexican Constitution of 1917.