The Madison-Jefferson letters presaged the 1824 election which, thrown to the House, resulted in the election of John Quincy Adams, even though Andrew Jackson had won both the Electoral College.
Results that may be inaccessible to you are currently showing.