AUSTIN, Texas (AP) — Texas’ former elections chief who resigned ahead of being forced out of office this week over wrongly questioning the U.S. citizenship of scores of voters is returning to a job under Republican Gov. Greg Abbott, his office told a newspaper Friday.

The Dallas Morning News reported that David Whitley’s new job as a special adviser will pay him a salary of $205,000.

Whitley served less than six months as secretary of state. He stepped down Monday as it became clear that Democrats in the Texas Legislature would deny him the confirmation vote needed to continue serving.

Whitley is a longtime Abbott aide who had previously been his deputy chief of staff before the governor picked him in December to become the state’s chief election officer.

“David Whitley has been an exemplary public servant to the state of Texas for many years and the Governor is proud to welcome him back to our organization as a Special Advisor,” Wittman told the newspaper.

Wittman did not return messages from The Associated Press on Friday.

Whitley was in charge when the state wrongly questioned the U.S. citizenship of scores of voters without properly vetting a list of nearly 100,000 names. His office claimed that 58,000 of the voters flagged were shown to have voted in at least one election since 1996, prompting President Donald Trump to renew unsubstantiated claims of rampant voter fraud.

In April, Texas settled a federal lawsuit over the botched search that required the state to pay $450,00 in fees to civil rights groups.

News of Whitley getting a job back in Abbott’s office drew swift criticism from opponents.

“In the Abbott Administration, being incompetent and malicious gets you a cushy new gig with a fancy job title. In the rest of the world, it gets you fired,” said Manny Garcia, executive director of the Texas Democratic Party.