How did the state of California become a free state?
The Compromise of 1850 was passed.
The Missouri Compromise was passed,
The Kansas Nebraska Act was passed,