HARRISBURG, Pa. (AP) – A just-signed law designed to modernize Pennsylvania’s election laws and help pay for new voting machines also includes money for the state to bolster federal census efforts.

Legislation signed Thursday by Gov. Tom Wolf authorizes up to $4 million to help ensure a complete and accurate 2020 census count in Pennsylvania.

READ MORE: Pittsburgh Weather: Clear Skies, Sunny Sunday

The government takes a headcount every 10 years to allocate seats in Congress and billions in federal dollars for such things as transportation projects and education.

READ MORE: Pittsburgh Area Residents Still Receiving Chase Bank Cards They Did Not Sign Up For

Wolf’s office says Pennsylvania would lose almost $2,100 a year in federal aid for each person who isn’t counted, and some states are devoting money to the cause.

A commission tapped by Wolf had asked the Republican-controlled Legislature for $1 per person to aid census outreach, or close to $13 million.

MORE NEWS: Former Steelers Player Ryan Switzer Asking For Prayers After Infant Son Diagnosed With COVID-19, Set To Face Surgery

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)