A judge in Kentucky restored thousands of people who had been labeled "inactive" to the state's voter rolls on Monday ahead of the upcoming gubernatorial election in the state.

Franklin County Judge Thomas Wingate issued a temporary injunction on Monday in response to a lawsuit from the Kentucky Democratic Party, according to the Louisville Courier-Journal.

ADVERTISEMENT

The party accused the State Board of Elections of illegally placing 175,000 registered voters on an "inactive" list in a lawsuit last week.

"We're very pleased with Judge Wingate's quick ruling to restore all voters back to a singular master voter list and believe this decision was necessary to protect Kentucky voters and ensure the integrity of the 2019 election," Kentucky Democratic Party Chairman Ben Self said in a statement posted to Twitter.

KDP statement on injunction against State Board of Elections pic.twitter.com/G55Wgq1guD — Kentucky Democrats (@KyDems) October 14, 2019

The Hill has reached out to the State Board of Elections for comment.

Gov. Matt Bevin (R), one of the country's least popular governors, is running for reelection next month. He will face Attorney General Andy Beshear (D) on Nov. 5.

President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE on Tuesday endorsed Bevin, saying he "has done a wonderful job."