Who was the diplomat sent to Mexico City to negotiate an end of the US Mexican war?

The diplomat sent to Mexico City to negotiate an end of the US-Mexican War was Nicholas P. Trist.