Which piece of legislation kept the balance between free states and slave states?

A.The Wilmot Proviso

B.The Fugitive Slave Act

C.The Compromise of 1850

D.Popular sovereignty