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: 'Land acquired in the Treaty of Guadalupe Hidalgo , which ended the Mexican War , organized into the territories of New Mexico and Utah with no federal prohibition of slavery .'
A:
ended