It took nine years from the moment that the Republic of Texas declared independence from Mexico for Texas for it to become annexed into the United States and the 28th state mainly due to the question of whether it would be a slave or free state as well as a potential war with Mexico. President Tyler who had just lost his bid for election to the Manifest Destiny platform of James K Polk signed the annexation on his last day in office. And the Mexican-American War started about a month after Polk was inaugurated.