how did this issue affect the u.s presidential election of 1844?
The Tyler-Texas treaty, signed on April 12, 1844, was framed to induct Texas into the Union as a territory, following constitutional protocols. To wit, Texas would cede all its public lands to the United States, and the federal government would assume all its bonded debt, up to $10 million.
Texas annexation
The Tyler-Texas treaty, signed on April 12, 1844, was framed to induct Texas into the Union as a territory, following constitutional protocols. To wit, Texas would cede all its public lands to the United States, and the federal government would assume all its bonded debt, up to $10 million. 
when was texas admitted to the united states December 29, 1845. which country was it a part of before getting annexed by the u.s? Mexico
wiki:13288272
Texas annexation [SEP] Tyler-Texas treaty and the election of 1844
The Tyler-Texas treaty, signed on April 12, 1844, was framed to induct Texas into the Union as a territory, following constitutional protocols. To wit, Texas would cede all its public lands to the United States, and the federal government would assume all its bonded debt, up to $10 million. The boundaries of the Texas territory were left unspecified. Four new states could ultimately be carved from the former republic – three of them likely to become slave states. Any allusion to slavery was omitted from the document so as not to antagonize anti-slavery sentiments during Senate debates, but it provided for the "preservation of all [Texas] property as secured in our domestic institutions." Upon the signing of the treaty, Tyler complied with the Texans' demand for military and naval protection, deploying troops to Fort Jesup in Louisiana and a fleet of warships to the Gulf of Mexico.