What compromises attempted to resolve the conflicts over the expansion of slavery into new territories?

What compromises attempted to resolve the conflicts over the expansion of
slavery into new territories? To what degree were these compromises successful?
Why did they eventually fail to resolve the differences between the North and
the South?