B is the correct answer.
The Compromise of 1850 was a series of bills that were designed to defuse tensions over the status of slavery in territories acquired after the Mexican-American war. This was necessary after Texas complicated the agreement set forth in the Missouri Compromise.