The AI-driven data center boom in Pennsylvania — which includes a $20 billion investment from Amazon

— is leading to political angst in districts in the Keystone State that could help decide control of the U.S. House.

The four competitive House races are in the eastern part of the state, where Democratic Gov. Josh Shapiro is focusing his data center expansion plans. Republicans represent all four districts and are looking to not only hold on to their own seats in November’s election but to retain control of the House, where the party holds a five-seat majority.

Political analysts say the data center dynamic could harm incumbents, who will take the brunt of public backlash for unpopular development.

All four districts are considered in play by the Cook Political Report with Amy Walter, which rates every congressional race. The 7th, 8th and 10th Districts are all listed as “toss-ups” by the Cook Report. Cook rates the 1st District — in Bucks County, north of Philadelphia — as “likely Republican,” so it’s also considered to be in play. It’s represented by Brian Fitzpatrick and is set to see construction from Amazon’s infusion of cash.