What were the consequences of the Mexican-American War?

What were the consequences of the Mexican–American War?