As part of a legal settlement with an election integrity watchdog group, Pennsylvania officials agreed to remove the names of deceased people from active voter rolls.

Public Interest Legal Foundation filed its civil action lawsuit against the former Pennsylvanian Secretary of State Kathy Boockvar and the state of Pennsylvania in November of 2020 claiming 21,000 decrease registrants were still on the voter rolls at the time of the 2020 presidential election, creating the potential for fraud and/or abuse, according to The Epoch Times.

“The Commonwealth’s failure to remove deceased registrants created a vast opportunity for voter fraud and abuse. It is important to not have dead voters active on the rolls for 5, 10, or even 20 years. This settlement fixes that,” Public Interest Legal Foundation President and General Counsel J. Christian Adams said in a statement in announcing the court’s decision.

As part of the agreement, Pennsylvania will compare its voter registration database to the Social Security Death Index and remove the names of deceased registrants.

While the state has yet to announce how many deceased people are still on voter rolls, the foundation claims that 9,212 of the alleged 21,000 dead voters have been dead for more than five years, and another 2,000 have been dead for more than ten years and are still on voter rolls.

“The Department of State is pleased that this agreement will offer Pennsylvania’s county boards of election another valuable tool to maintain the most accurate and up-to-date voter rolls possible,” the department said in a statement.

However, the department still disputes the total number alleged by the foundation.

Former President Trump contested the results of the election in Pennsylvania during the 2020 presidential election, claimed he “won by a lot.”

More stories: