For the first time in 48 years, Democrats flipped the Pennsylvania state Senate, achieving their elusive “trifecta” of control of the executive and both chambers of the legislature. For much of his first term, Gov. Josh Shapiro has boasted about his ability to work with a “divided legislature,” but Republicans have used their state Senate majority as a check on Shapiro’s most ambitious priorities.