Pennsylvania’s high-profile attorney general, Josh Shapiro, formally announced his candidacy for governor Oct. 13, entering the 2022 race months after making his intentions known and effectively clearing the field of potential rivals for the Democratic nomination.

Shapiro, a familiar presence on cable TV news who has spent nearly two decades in elective office, launched a bid to become the state’s chief executive with a speech in Pittsburgh.