Answer
Texas became a part of the United States in 1845, after being an independent republic for nine years. The annexation of Texas was a controversial issue at the time, as many people in the United States opposed the expansion of slavery into the territories. The issue eventually led to the Mexican-American War, which ended in 1848 with the United States gaining control of the entire Southwest, including Texas.