<P> The Texas annexation was the 1845 incorporation of the Republic of Texas into the United States of America, which was admitted to the Union as the 28th state on December 29, 1845 . </P> <P> The Republic of Texas declared independence from the Republic of Mexico on March 2, 1836 . At the time the vast majority of the Texian population favored the annexation of the Republic by the United States . The leadership of both major U.S. political parties, the Democrats and the Whigs, opposed the introduction of Texas, a vast slave - holding region, into the volatile political climate of the pro - and anti-slavery sectional controversies in Congress . Moreover, they wished to avoid a war with Mexico, whose government refused to acknowledge the sovereignty of its rebellious northern province . With Texas's economic fortunes declining by the early 1840s, the President of the Texas Republic, Sam Houston, arranged talks with Mexico to explore the possibility of securing official recognition of independence, with the United Kingdom mediating . </P>

When did texas annexed into the united states