White House press secretary Karine Jean-Pierre violated the Hatch Act, the federal law limiting certain political activities of federal employees to prevent influencing elections, one government watchdog has found.

According to the Office of Special Counsel, Jean-Pierre committed the violation last year ahead of the 2022 midterm elections when she repeatedly referred to "mega MAGA Republicans" while acting in her role as White House press secretary.

"Because Ms. Jean‐Pierre made the statements while acting in her official capacity, she violated the Hatch Act prohibition against using her official authority or influence for the purpose of interfering with or affecting the result of an election," the agency wrote in a letter dated June 7 shared with NBC News.

BERNIE SANDERS TO BLOCK ALL BIDEN HEALTH NOMINEES UNTIL ADMIN DELIVERS PLAN TO LOWER DRUG PRICES: REPORT

White House press secretary Karine Jean-Pierre

White House Press Secretary Karine Jean-Pierre listens during a daily news briefing at the Brady Press Briefing Room of the White House on June 12, 2023, in Washington, DC. (Alex Wong/Getty Images)

The complaint was first brought forward by Protect the Public's Trust, a group dedicated to monitoring the government for illegal behavior and conflicts of interest.

Jean-Pierre, who frequently cites the Hatch Act during the daily White House press briefing to avoid answering questions related to President Biden's re-election campaign or other candidates, made the comments during a briefing on Nov. 2.

"Unfortunately, we have seen mega MAGA Republican officials who don’t believe in the rule of law. They refuse to accept the results of free and fair elections and they fan the flames of political violence through what they praise and what they refuse to condemn. It remains important for the President to state strongly and unequivocally that violence has no place in our democracy," she said.

Biden previously introduced the term "mega MAGA" on Oct. 21 while attacking Republican economic policies as "mega MAGA trickle down."

HHS SECRETARY XAVIER BECERRA VIOLATED HATCH ACT, OFFICE OF SPECIAL COUNSEL FINDS

Biden in Pennsylvania

President Biden previously spoke about the "attack" on democracy from "MAGA Republicans" in a speech in August. (Hannah Beier/Bloomberg via Getty Images)

The agency's letter went on to describe Jean-Pierre's comments as "an inappropriate attempt to influence the vote," but added that it "decided to close this matter without further action."  

The letter also noted that White House Counsel "did not at the time believe that Ms. Jean‐Pierre’s remarks were prohibited," and said it had issued Jean-Pierre "a warning letter."

When reached for comment, a White House official told Fox News, "As has been made clear throughout the administration, we take the law seriously and uphold the Hatch Act. We are reviewing this opinion."

LAWMAKERS SUBPOENA HUNTER BIDEN'S EX-BUSINESS PARTNER FOR DEPOSITION IN BIDEN FAMILY INVESTIGATION: REPORT

Karine Jean-Pierre at briefing

White House Press Secretary Karine Jean-Pierre speaks during the daily press briefing at the White House on May 23, 2023, in Washington, DC. (Drew Angerer/Getty Images)

A person familiar with the complaint noted that the White House under former President Donald Trump used the phrase "Make America Great Again" for official purposes thousands of times to describe his administration's policies. The phrase was the official slogan of Trump's 2016 campaign. 

Additionally, they pointed to congressional Republicans similarly using the term "MAGA" for official purposes concerning legislation and other policy proposals.

CLICK HERE TO GET THE FOX NEWS APP

Fox News' Lindsay Kornick contributed to this report.