Gold was discovered in California in 1848. The news spread quickly, drawing people from all over the United States and the world. Many hoped to find gold and build a better life. These newcomers also brought different beliefs about work and freedom. People from Northern states wanted a place where free people could work for themselves and succeed. People from Southern states sometimes brought enslaved African Americans and forced them to work in the mines. In the early Gold Rush years, California had no clear rules about slavery. Because of this, people acted on their own ideas. Many miners disliked the use of enslaved labor. They thought it gave enslavers an unfair advantage in the hard work of gold mining.
As more people arrived, the question of slavery in California became a national concern. For many years, the United States tried to keep a balance between states where slavery was legal and states where it was not. Before the Gold Rush, the number of each was the same. When California sought admission to the Union, that balance was at risk. Congress argued for months about whether the new land gained from Mexico should allow slavery. Some Southern leaders warned that losing power in the Senate would harm their future. Others talked about breaking away from the United States if California came in as a free state. During one argument, a senator even pulled out a pistol. At last, Congress passed the Compromise of 1850. It allowed California to enter the Union as a free state, but also strengthened laws that protected slavery in other parts of the country.

Inside California, freedom was still uncertain. The new state constitution banned slavery, but it did not explain what would happen to people who had been brought while California was still a territory. Lawmakers passed new measures that caused more harm. One law allowed white settlers to control Native people. Another, passed in 1852, was a strict fugitive slave law. It allowed enslavers to claim African Americans who had arrived during the early Gold Rush. At that time, between 200 and 300 enslaved African Americans were forced to work in mining areas.
The story of Carter Perkins, Robert Perkins, and Sandy Jones showed how unsafe life could be for Black people in California. These three men had been enslaved in Mississippi and were promised freedom after working in California. They later built a successful freight business. But after the 1852 law passed, armed men raided their cabin at night and forced them into court. Free Black residents raised money to help, but the California Supreme Court ruled against the men. This decision frightened many of the state’s roughly 2,000 Black residents and showed how national tensions about slavery affected the West.

Still, Black Californians took action to protect one another. About 6,000 African Americans came to the state during the Gold Rush. They built a West Coast Underground Railroad, raised money to challenge unfair laws, and helped some families move to British Columbia. Between 1855 and 1857, Black leaders held Colored Conventions to demand basic rights and to create secret networks that shared important information. Mary Ellen Pleasant, a businesswoman known for helping enslaved people escape, used her resources in San Francisco to support freedom seekers and stand up to discrimination.
By the late 1850s, California showed many of the same divisions spreading across the nation. The fight over slavery in the West, shaped by the Gold Rush, pushed the United States closer to the Civil War.