What is the best description of the Compromise of 1850?

The belief that the United States should expand their territory.

The agreement made between Europe and the United States regarding immigration.

The set of laws that settled the issue of slavery when admitting new states.

The arrangement was made with Mexico agreeing to end the U.S.-Mexican war.