Mexican-American War: The Treaty of Guadalupe Hidalgo is signed ending the war.