As it turns out, the Spaniards occupied Mexico for some 300 years and even the word Hispanic was one employed by the Romans when they occupied what now is Spain. So, the Spanish language that is spoken across Latin America is a result of Spanish occupation. Likewise, it was Spain that occupied Mexico for hundreds of years.
In 1846 the Mexican-American war began in the wake of the 1845 U.S. annexation of Texas. Mexico considered Texas part of its territory despite the Texas Revolution nearly a decade prior. Mexico never acknowledged Texas’ independence.
Ultimately, the Americans won the war with Mexico but on February 2 ,1848, the two countries signed the Treaty of Guadalupe which stated that U.S. troops would withdraw from Mexico, including Mexico City and take ownership of the Southwestern United States.
What’s more, the U.S. agreed to buy the land from Mexico for $15 million, even though it was won squarely in victory and there was no obligation to do so. Not at any time did the United States occupy nor rule Mexico. The United States did not subject Mexicans to our form of government nor did it leave troops stationed in the country.