California became a free state and slave trade was illegal in Washington D.C.the rest of the land gained from the Mexican war would decide if they wanted slavery in their territory or not by voting, this is called popular sovereignty . A new fugitive slave law was passed that affected the whole country.