Mexican–American War
After many settlers came to Texas, disputes led to the Texas Revolution in 1836, when Texas became independent. Mexico refused to recognize the Republic of Texas as an independent country. Eventually, Texas asked to join the United States.