Who was the President of the United States in 1845?

The term that John Tyler assumed after the death of Pres. Harrison ended on the 3rd of March 1845, and James K. Polk's term began on the 4th of March.

John Tyler was the President of the United States at the start of 1845, being replaced by James Knox Polk on March 4.