John Tyler (29 March 1790 – 18 January 1862) was the president of the United States from 1841 to 1845.