Complex sentence: Mexico derived only a single benefit from the Treaty of Guadalupe Hidalgo which ended the war-the United States pledged in the treaty that it would police the border to prevent Indian invasions of Mexico.
Split into simpler sentences: Mexico derived only a single benefit from the Treaty of Guadalupe Hidalgo which ended the war. The United States pledged in the treaty that it would police the border to prevent Indian invasions of Mexico.