Which of the following was a consequence of the U.S.-Mexican War?

Idea of Manifest Destiny

Debate over slavery in the territories

Annexation of Texas

Election of James K. Polk as president