The 1838 Pennsylvania gubernatorial election was a statewide contest for the office of Governor of the Commonwealth of Pennsylvania in the United States. Incumbent Governor Joseph Ritner, who was the last governor to serve under Pennsylvania's Constitution of 1790, ran as an Anti-Masonic candidate. He was defeated by Jacksonian Democrat David R. Porter by less than 5,500 votes, following a divisive campaign marred by rising public prejudice against Freemasonry and a disinformation campaign that distributed biographical booklets with inaccurate information about Porter. Unhappy with the election's outcome, a group of Ritner supporters subsequently challenged the election results, sparking statewide violence that culminated in the Buckshot War. History The last governor to serve under Pennsylvania's Constitution of 1790, incumbent Governor Joseph Ritner, ran for re-election as an Anti-Masonic candidate against Jacksonian Democrat David R. Porter, who as a member of the Huntingdon Lodge of the Freemasons, had risen to the levels of Grand Master of his lodge and Deputy Grand Master of the Masonic district in which his lodge was located. The campaign was an unusually divisive one, fueled by disinformation about Porter that was spread by Ritner supporters, public prejudice against Freemasonry that had been increasing since the 1833 passage of a new state law which made it illegal for fraternal organizations to require their members to keep their rituals secret from the public, the rise of anti-abolitionist groups across Pennsylvania whose members were opposed to ending the practice of chattel slavery in America, and accusations of voter fraud. When Ritner was defeated by Porter by less than 5,500 results, supporters of Ritner challenged the election results, sparking statewide violence that culminated in the Buckshot War, which was finally ended by legislative action, enabling Porter to take office as the first governor under the State Constitution of 1838. Results See also Buckshot War References External links "Letter from James Buchanan to Reuel William" (U.S. Senator and future U.S. President James Buchanan discusses the 1838 gubernatorial election in Pennsylvania). Carlisle, Pennsylvania: Dickinson College, Archives & Special Collections. 1835 Pennsylvania Gubernatorial November 1838 events