The correct answer is B
The Mexican-American war was an armed conflict that confronted the US an Mexico between 1846 and 1848. The conflict emerged in the aftermath of the annexation of Texas performed by the US in 1845, a territory that Mexico still considered one of its provinces (the most Northern one).
The victory of the US over Mexico led to the territorial expansion that the first desired.