The first president of the United States under the Articles of Confederation was John Hanson from Maryland. His term began in 1781 and ended in 1782.