In the entire history of California statehood, slavery was always illegal. Although Spanish colonists had enslaved indigenous Californians and some Americans had brought their slaves to California before it entered the union, upon its liberation from Mexico, California's constitutional convention banned slavery prior to the U.S. admitting it as a state.
-Kari