In the 2020 redistricting cycle, the Pennsylvania district pushed northwards, further into Berks County, effective with the 2022 elections.
The district had a slight Democratic registration edge, although it had voted for Republicans in several federal elections over the 2000s decade, including for President George W. Bush in 2000 and 2004, as well as Lynn Swann for governor in 2006.
The Supreme Court of Pennsylvania redrew the state's congressional districts in February 2018 after ruling the previous map unconstitutional due to gerrymandering.
The fourth district was reconfigured as a Democratic-leaning area to the northwest of Philadelphia for the 2018 election and representation thereafter.
The bulk of Perry's representation, including York and Harrisburg, became part of a redrawn 10th district.