What was Treaty of Guadalupe-Hidalgo and what were the results of that treaty?

What was Treaty of Guadalupe-Hidalgo and what were the results of that treaty?