Question: the united states gained control of texas after armed conflict with the forces of
Answer: The Mexican -- American War , also known as the Mexican War in the United States and in Mexico as the American intervention in Mexico , was an armed conflict between the United States of America and the United Mexican States ( Mexico ) from 1846 to 1848 .