After the House contest, Van Buren shrewdly kept out of the controversy which followed, and began looking forward to 1828. Jackson was angered to see the presidency go to Adams despite having won more popular votes than he had, and he eagerly looked forward to a rematch. Jackson's supporters accused Adams and Clay of having engaged in a 'corrupt bargain' in which Clay helped Adams win the contingent election in return for Clay's appointment as Secretary of State. Always notably courteous in his treatment of opponents, Van Buren showed no bitterness toward either Adams or Clay, and he voted to confirm Clay's nomination to the cabinet. At the same time, Van Buren opposed the Adams-Clay plans for internal improvements like roads and canals and declined to support U.S. participation in the Congress of Panama. Van Buren considered Adams's proposals to represent a return to the Hamiltonian economic model favored by Federalists, which he strongly opposed. Despite his opposition to Adams's public policies, Van Buren was able to easily secure re-election in his own divided home state in 1827.