The rancho system was a land grant system established in California during the Spanish and later Mexican rule, where large parcels of land were awarded to individuals for agricultural and ranching purposes. This system played a crucial role in shaping California's economy and society by promoting cattle ranching and the establishment of wealthy landowners known as rancheros. It also contributed to social stratification and land disputes, particularly after the U.S. took control of California.