who helped secure the presidency for thomas jefferson