During the Mexican era (1821–1846), grantees received legal title to the land. In 1821, Mexico achieved its independence from Spain, and California came under control of the Mexican government. The 1824 Mexican Colony Law established rules for petitioning for land grants in California; and by 1828, the rules for establishing land grants were codified in the Mexican Reglamento (Regulation). The Acts sought to break the land monopoly of the missions and also paved the way for luring additional settlers to California by making land grants easier to obtain. The Mexican Governors of Alta California gained the power to grant state lands, and many of the Spanish concessions were subsequently patented under Mexican law—frequently to local "friends" of the governor.