What general defeated the Mexicans in Mexico City?

What general defeated the Mexicans in Mexico City?

What was the name of the Treaty that ended the Mexican War?

What did this traty say regarding Texas?