Detailed Instructions: From the given sentence, extract the phrase (often noun or verb) that carries the given relationship. The generated phrase should be present in the sentence.
Q: Given Relationship: 'end', Sentence: 'The Treaty of Guadalupe Hidalgo that ended the Mexican War awarded all lands north of the Rio Grande to the United States .'
A:
ended