<em>D. The slave trade was banned in Washington, D.C.</em>
Explanation:
After the Mexican-American War ended, the United States had a lot more territory to deal with. Slavery was always a huge debate during this time, but now that there were more territories, people started to get nervous about how the new territories would be split up into free and slave states.
The Compromise of 1850 were laws and compromises that set the field for the slavery situation in the new territories. These laws tried to be as fair and unbiased as possible, since slavery was controversial during this time.
With these laws, California was now a free state, the slave trade was now prohibited in Washington, D.C, and Texas lost New Mexico, but got money from the government in the process.