The sweeping government reform legislation proposed Thursday by House Democrats would provide states with federal funding to improve their election infrastructure and support bug bounty programs to improve election cybersecurity.

One of first bills of the 116th Congress, the For the People Act would also charge the Homeland Security Department with sharing information about election threats with state officials and test the security of voting systems nine months before every federal election.

The legislation, introduced by House Speaker Nancy Pelosi, D-Calif., and Rep. John Sarbanes, D-Md., would mandate many of the key election security measures lawmakers have spent the last two years advocating. Previous attempts to lock down voting infrastructure were mired by legal hair-splitting and funding concerns, despite generally bipartisan support.

Under the House bill, states would receive federal subsidies to improve election infrastructure, invest in paper ballot systems and audit elections after the fact. The federal government would also fund efforts to explore innovative infrastructure changes.

Homeland Security would be required to create a commission to defend “U.S. democratic institutions” against foreign threats and keep election systems designated as critical infrastructure.

Most of the provisions are derived from the Election Security Act, which House Homeland Security Committee Chairman Bennie Thompson, D-Miss., introduced last year.

Beyond election security, the broad bill also includes provisions to remove cumbersome voter regulations, limit partisan gerrymandering and increase transparency around campaign finance. It also subsumed language from the Honest Ads Act, which would require online platforms to disclose who paid for political ads on their sites.