Reflecting his public association with Jackson, Van Buren accepted the gubernatorial nomination on a ticket that called itself "Jacksonian-Democrat". He campaigned on local as well as national issues, emphasizing his opposition to the policies of the Adams administration. Van Buren ran ahead of Jackson, winning the state by 30,000 votes compared to a margin of 5,000 for Jackson. Nationally, Jackson defeated Adams by a wide margin, winning nearly every state outside of New England. After the election, Van Buren resigned from the Senate to start his term as governor, which began on January 1, 1829. While his term as governor was short, he did manage to pass the Bank Safety Fund Law, an early form of deposit insurance, through the legislature. He also appointed several key supporters, including William L. Marcy and Silas Wright, to important state positions.