"The Office of Special Counsel issued a letter to Scavino warning him of his violation in response to an April 1 tweet where he called on the "#TrumpTrain" to help defeat Rep. Justin Mash of MI, a Republican member of Congress who had been critical of President Donald Trump.
The Office of Special Counsel agreed that the tweet violated the Hatch Act.
The Office of Special Council said it had not observed further violations by Scavino since the post about Amash, but that the social media director had been warned that future violations would not be seen as inadvertent.
In the Tweet, Scavino called Amash "a big liability" and asked the #TrumpTrain to "defeat him in primary".
Enacted in 1939, the Hatch Act prohibits executive branch employees from engaging in certain forms of political activity.
The objective of the Hatch Act, passed in 1939, prohibits all employees in the executive branch of the federal government (save the president and vice president) from participating in certain forms of political activity.
Scavino has since changed his Twitter bio and profile picture, but if he were to violate the law again, the punishment would be pretty steep.
Scavino has not tweeted about the news.
News has reached out to the White House for comment.
Scavino's tweet came this spring after Amash, a libertarian Republican from Cascade Township in west MI, took a role in helping to block a vote on legislation to repeal and replace the Affordable Care Act that was supported by President Donald Trump and House Speaker Paul Ryan.
Even though Scavino was tweeting from his personal account, his page at the time listed his official White House position and featured a photo of him inside the Oval Office.
Scavino is one of the president's most loyal and longest-serving aides in the White House.