The 1823 Pennsylvania gubernatorial election occurred on October 14, 1823. Incumbent Federalist governor, Joseph Hiester, did not seek re-election. The Democratic-Republican candidate, John Andrew Shulze, defeated Federalist candidate Andrew Gregg.
Fetching the article from Wikipedia…
Text from the Wikipedia article “1823 Pennsylvania gubernatorial election”, available under CC BY-SA 4.0.