After winning independence from Mexico in 1836, the Republic of Texas petitioned the United States for annexation. ... In the end, annexation was one of the leading causes of the Mexican-American War. Perhaps an even more contentious issue had to do with slavery. Many settlers in Texas were slave owners.