Rep. Jim Jordan (R-OH) speaks during a news conference July 26, 2011 on Capitol Hill in Washington, DC.
Alex Wong/Getty Images
Rep. Jim Jordan (R-OH) speaks during a news conference July 26, 2011 on Capitol Hill in Washington, DC.
Now playing
04:02
Jordan defends Amash from White House attack
US President Donald Trump speaks with reporters outside the White House prior to his departure aboard Marine One on October 7, 2017. 
During the exchange, President Trump called NBC News, "Fake News" after the news agency reported tension between Trump and US Secretary of State Rex Rex Tillerson. The President will travel to Greensboro, North Carolina this evening to participate in a roundtable discussion with Republican National Committee members. / AFP PHOTO / Alex EDELMAN        (Photo credit should read ALEX EDELMAN/AFP/Getty Images)
ALEX EDELMAN/AFP/Getty Images
US President Donald Trump speaks with reporters outside the White House prior to his departure aboard Marine One on October 7, 2017. During the exchange, President Trump called NBC News, "Fake News" after the news agency reported tension between Trump and US Secretary of State Rex Rex Tillerson. The President will travel to Greensboro, North Carolina this evening to participate in a roundtable discussion with Republican National Committee members. / AFP PHOTO / Alex EDELMAN (Photo credit should read ALEX EDELMAN/AFP/Getty Images)
Now playing
00:54
Trump in tweet: I have people I want to change
NATIONAL HARBOR, MD - FEBRUARY 22:  Former U.S. Ambassador to the United Nations John Bolton speaks during CPAC 2018 February 22, 2018 in National Harbor, Maryland. The American Conservative Union hosted its annual Conservative Political Action Conference to discuss conservative agenda.  (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images North America/Getty Images
NATIONAL HARBOR, MD - FEBRUARY 22: Former U.S. Ambassador to the United Nations John Bolton speaks during CPAC 2018 February 22, 2018 in National Harbor, Maryland. The American Conservative Union hosted its annual Conservative Political Action Conference to discuss conservative agenda. (Photo by Alex Wong/Getty Images)
Now playing
02:11
Bolton: My past comments are behind me
TILLERSON: MY HOPE YOU WILL BE GUIDED BY VALUES -
CNN
TILLERSON: MY HOPE YOU WILL BE GUIDED BY VALUES -
Now playing
01:58
Tillerson: Washington a 'mean-spirited town'
Now playing
02:28
Trump on White House chaos: I like conflict
WASHINGTON, DC - NOVEMBER 08: US Ambassador to United Nations John Bolton speaks at the National Oversight and Government Reform Committee on moving the U.S. Embassy in Israel to Jerusalem on Capitol Hill on November 8, 2017 in Washington, DC. (Photo by Tasos Katopodis/Getty Images)
Tasos Katopodis/Getty Images
WASHINGTON, DC - NOVEMBER 08: US Ambassador to United Nations John Bolton speaks at the National Oversight and Government Reform Committee on moving the U.S. Embassy in Israel to Jerusalem on Capitol Hill on November 8, 2017 in Washington, DC. (Photo by Tasos Katopodis/Getty Images)
Now playing
00:51
Bolton on Fox News: WH leaks are unacceptable
UNTV
Now playing
02:27
Nikki Haley: I don't get confused
Michael D'Antonio CNT
CNN
Michael D'Antonio CNT
Now playing
01:28
Analyst: Trump mood swings worse than teenager
whpb sanders nunberg response acosta sot tsr_00000120.jpg
CNN
whpb sanders nunberg response acosta sot tsr_00000120.jpg
Now playing
01:03
White House responds to Nunberg's claims
Anthony Scaramucci John Kelly culture of fear newday_00000000.jpg
Anthony Scaramucci John Kelly culture of fear newday_00000000.jpg
Now playing
01:05
Scaramucci: Culture of fear inside White House
john kelly white house job joke god punished me sot_00003911.jpg
CNN
john kelly white house job joke god punished me sot_00003911.jpg
Now playing
00:44
John Kelly jokes about job: God punished me
Counselor to the President Kellyanne Conway listens while Norway's Prime Minister Erna Solberg and US President Donald Trump hold a press conference in the East Room the White House January 10, 2018 in Washington, DC.
BRENDAN SMIALOWSKI/AFP/Getty Images
Counselor to the President Kellyanne Conway listens while Norway's Prime Minister Erna Solberg and US President Donald Trump hold a press conference in the East Room the White House January 10, 2018 in Washington, DC.
Now playing
02:18
Conway violated Hatch Act, report says
Senior Advisor to the president Jared Kushner is seen during a meeting with US President Donald Trump and members of Congress on trade in the Cabinet Room of the White House on February 13, 2018 in Washington, DC. (MANDEL NGAN/AFP/Getty Images)
MANDEL NGAN/AFP/Getty Images
Senior Advisor to the president Jared Kushner is seen during a meeting with US President Donald Trump and members of Congress on trade in the Cabinet Room of the White House on February 13, 2018 in Washington, DC. (MANDEL NGAN/AFP/Getty Images)
Now playing
02:19
Sources: Kushner loses top secret clearance
President Donald Trump stands with Attorney General Jeff Sessions on December 15, 2017 in Quantico, Virginia, before participating in the FBI National Academy graduation ceremony.
NICHOLAS KAMM/AFP/Getty Images
President Donald Trump stands with Attorney General Jeff Sessions on December 15, 2017 in Quantico, Virginia, before participating in the FBI National Academy graduation ceremony.
Now playing
01:03
NYT: Trump ordered WH lawyer to stop Sessions from recusing himself

Story highlights

The Hatch Act prohibits employees in the executive branch, except the President, from engaging in political activity

Scavino's tweet called for GOP Rep. Justin Amash to be defeated in a primary

Washington CNN —  

Senior White House aide Dan Scavino was reprimanded by the US Office of Special Counsel for violating the Hatch Act in a tweet, according to a letter posted by a Washington watchdog group.

The letter addressed to the Citizens for Responsibility and Ethics in Washington states that Scavino, the White House director of social media, violated the Hatch Act on April 1 when he sent a tweet calling for the defeat of GOP Rep. Justin Amash in a primary.

The Hatch Act prohibits employees in the executive branch, except the President, Vice-President and some other high-level officials, from engaging in political activity.

RELATED: Trump aide keeps up Twitter attacks on Freedom Caucus’ Amash

In its letter to CREW, the Office of Special Counsel said that Scavino received a “warning letter” and “if in the future he engages in prohibited political activity while employed in a position covered by the Hatch Act, we will consider such activity to be a willful and knowing violation of the law.”

The White House has not yet responded to CNN’s request for comment. OSC said it “cannot comment” on the letter.

Scavino’s tweet came on the heels of President Donald Trump’s taking to Twitter in April to call out the conservative House Freedom Caucus, which Amash is a member of, for not supporting his plan to repeal and replace Obamacare.

Amash was among the Freedom Caucus members who pushed back against the President, tweeting that Trump had surrendered to the Washington swamp he promised to fight. He eventually voted for the final bill.

“The rules are clear that government officials aren’t allowed to use their position for campaign activity,” CREW Executive Director Noah Bookbinder said in a statement. “OSC has made clear with this ruling that they are going to enforce these important rules and work to keep the government free from inappropriate politics.”

CNN’s Ryan Nobles and Dan Merica contributed to this report.