From 1821 to 1846, after Mexico gained its independence from Spain, California was under Mexican rule.
While they had more rights than they had under Spanish rule, the native population still was the labor force for ranchos or in developing towns.