Due to a flaw in the design of the Constitution, Thomas Jefferson almost lost the 1800 presidential election to