The Treasury Department on Wednesday retweeted a post from President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE celebrating Republican wins in congressional elections this year, potentially violating federal campaign law.

The department’s official Twitter account shared a tweet from Trump touting results from elections held Tuesday night and an upcoming “Red Wave” of GOP congressional victors.

“Great Republican election results last night. So far we have the team we want. 8 for 9 in Special Elections. Red Wave!” Trump tweeted at 8:30 a.m.

ADVERTISEMENT

Treasury deleted the retweet soon after media outlets raised questions about its legality.

A department spokesperson told The Hill that the retweet "was done in error and has been taken down."

Treasury’s retweet of a campaign-related post appears to risk violating the Hatch Act, a law that bans federal employees from engaging in political activity while on duty or serving in any official capacity.

Several Trump administration officials have been found to have violated the Hatch Act by the Office of Special Counsel (OSC), which enforces ethics rules for federal employees. The agency is not related to special counsel Robert Mueller Robert (Bob) MuellerCNN's Toobin warns McCabe is in 'perilous condition' with emboldened Trump CNN anchor rips Trump over Stone while evoking Clinton-Lynch tarmac meeting The Hill's 12:30 Report: New Hampshire fallout MORE or his Russia investigation.

The OSC said in March that top White House counselor Kellyanne Conway Kellyanne Elizabeth ConwaySpecial counsel investigating DeVos for potential Hatch Act violation: report George and Kellyanne Conway honor Ginsburg Trump carries on with rally, unaware of Ginsburg's death MORE violated the Hatch Act twice in TV appearances when she “impermissibly mixed official government business with political views about candidates.”

ADVERTISEMENT

The agency also warned Federal Communications Commission (FCC) Commissioner Mike O’Rielly in May that he violated the Hatch Act when he called on voters to support Trump and GOP candidates at a conservative political convention.

U.S. Ambassador to the United Nations Nikki Haley Nimrata (Nikki) Haley'The soul' versus 'law and order' Author Ryan Girdusky: RNC worked best when highlighting 'regular people' as opposed to 'standard Republicans' GOP lobbyists pleasantly surprised by Republican convention MORE was also found to have violated the act by retweeting an endorsement from Trump in October. And Dan Scavino, the White House social media director, was also found to have violated the act last year after encouraging potential GOP challengers to oust Rep. Justin Amash Justin AmashInternal Democratic poll shows tight race in contest to replace Amash Centrist Democrats 'strongly considering' discharge petition on GOP PPP bill On The Trail: How Nancy Pelosi could improbably become president MORE (R-Mich.).



Government watchdog nonprofits have also filed several other Hatch Act complaints against top Trump administration officials for tweets supporting the president’s 2020 re-election campaign.

Citizens for Responsibility and Ethics in Washington filed complaints against 10 administration officials earlier this month, including White House press secretary Sarah Huckabee Sanders and Office of Management and Budget Director Mick Mulvaney Mick MulvaneyOn The Money: House panel pulls Powell into partisan battles | New York considers hiking taxes on the rich | Treasury: Trump's payroll tax deferral won't hurt Social Security Blockchain trade group names Mick Mulvaney to board Mick Mulvaney to start hedge fund MORE.