The 2022 Pennsylvania gubernatorial election was held on November 8, 2022, to elect the governor of Pennsylvania and lieutenant governor of Pennsylvania. State Attorney General Josh Shapiro defeated State Senator Doug Mastriano by 14.8 percentage points to succeed term-limited incumbent governor Tom Wolf (D). Primaries were held on May 17, 2022. Shapiro won the Democratic nomination after running unopposed and Mastriano won the Republican nomination with 44% of the vote. Mastriano's nomination drew attention due to his far-right political views.