Nicholas Philip Trist was an American lawyer, diplomat, planter, and businessman. Even though dismissed by President James K. Polk as the negotiator with the Mexican government, he negotiated the Treaty of Guadalupe Hidalgo in 1848, which ended the Mexican-American War. The U.S. conquered Mexican territory and vastly expanded the United States. All or part of ten current states were carved out of former Mexican territory.