Following the Mexican American War, the issue that divided political parties and the nation was slavery. This led to the Compromise of 1850, which admitted California as a free state and enacted the Fugitive Slave Law. This law allowed the recapture of enslaved persons anywhere in the United States.