President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE on Wednesday slammed former Ohio Attorney General Richard Cordray Richard Adams CordrayConsumer bureau revokes payday lending restrictions Supreme Court ruling could unleash new legal challenges to consumer bureau Supreme Court rules consumer bureau director can be fired at will MORE (D) as a “socialist” who “should not do well” in Ohio’s gubernatorial election this November.

“Congratulations to Mike Dewine on his big win in the Great State of Ohio. He will be a great Governor with a heavy focus on HealthCare and Jobs,” the president wrote on Twitter, referring to Ohio Attorney General Mike DeWine, who won the Republican primary for governor on Tuesday.

“His Socialist opponent in November should not do well, a big failure in last job!” Trump added, referring to Cordray.

Congratulations to Mike Dewine on his big win in the Great State of Ohio. He will be a great Governor with a heavy focus on HealthCare and Jobs. His Socialist opponent in November should not do well, a big failure in last job! — Donald J. Trump (@realDonaldTrump) May 9, 2018

Cordray is also DeWine’s predecessor, having served as Ohio’s attorney general before heading the Consumer Financial Protection Bureau (CFPB) for nearly six years. Cordray left the agency in November to run for governor in a move that set up a fight over who would serve as his successor in leading the CFPB.

Cordray fired back at Trump on Twitter, saying the president's attacks would not push him to back down in the Ohio race.

ADVERTISEMENT

"Very telling that you think $12 billion dollars back to 30 million consumers is a failure, @realdonaldtrump," Cordray wrote.

"I never backed down from you or Wall Street. All your name calling won’t stop me from fighting those who want to cheat Ohio families, unlike @MikeDeWine."

Cordray on Tuesday defeated former Rep. Dennis Kucinich (D) in the Democratic primary. He will square off against DeWine in a closely watched governor's race to replace John Kasich (R), who is term-limited, in November.

Updated: 4:33 p.m.