1838 Pennsylvania gubernatorial election

Joseph Ritner Anti-Masonic David R. Porter Democratic The 1838 Pennsylvania gubernatorial election was a statewide contest for the office of Governor of the Commonwealth of Pennsylvania in the United States.

[2] 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.

[5][6] 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,[7][8] 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.

[9][10] The campaign was an unusually divisive one, fueled by disinformation about Porter that was spread by Ritner supporters,[11] 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,[12][13][14] the rise of anti-abolitionist groups across Pennsylvania whose members were opposed to ending the practice of chattel slavery in America,[15] and accusations of voter fraud.

[16] 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,[17] which was finally ended by legislative action, enabling Porter to take office as the first governor under the State Constitution of 1838.