On February 28, 1845, the U.S. Congress passed a bill that would authorize the United States to annex the Republic of Texas and on March 1 U.S. President John Tyler signed the bill. The legislation set the date for annexation for December 29 of the same year.