A Twitter account for the Kansas Department of Transportation's south-central division on Sunday called President Donald Trump a "delusional communist."

The message prompted swift rebuke from the Kansas Republican Party, which directed criticism at Gov. Laura Kelly, a Democrat who has struggled to find compromise with GOP leaders in the Legislature since taking office in January.

"Governor Kelly campaigned on bipartisanship," the Kansas Republican Party said, "but she refuses to negotiate with Republicans in the Legislature, and her staff is too busy attacking President Trump on the Kansas taxpayer’s dime."

KDOT secretary Julie Lorenz said the employee who sent the tweet is no longer a KDOT employee.

"The tweet has been deleted from the KDOT account as it does not reflect the views of KDOT or the administration and was an unacceptable use of state communication tools," Lorenz said.

The tweet from @SCKansasKDOT was deleted, but images of it spread quickly.

It was a reply to Trump, who asked if weekend anchors for Fox News were "trained by CNN prior to their ratings collapse?"

"In any event," Trump said, "that's where they should be working."

The KDOT account responded: "You're a delusional Communist. You know it's Communist countries that try to control media, right?"

Ashley All, the governor's spokeswoman, said Lorenz immediately dealt with the matter.

"The tweet was absolutely unacceptable and does not reflect the views of this administration," All said.