(CNN) Six White House officials have violated the Hatch Act, according to a letter from the Office of the Special Counsel to Citizens for Responsibility and Ethics in Washington Executive Director Noah Bookbinder.

The six officials are White House principal deputy press secretary Raj Shah, White House deputy director of communications Jessica Ditto, executive assistant to the President Madeleine Westerhout, former special assistant to the President and director of media affairs Helen Aguirre Ferré, press secretary for the Vice President Alyssa Farah and Office of Management and Budget deputy communications Director Jacob Wood.

The Hatch Act limits certain political activities of federal employees in an attempt to prevent the federal government from affecting elections or operating in a partisan manner. This includes sending partisan messages from social media accounts used for official government business.

All six violated the Hatch Act by using their Twitter accounts, which they use for official purposes, to tweet messages considered partisan by OSC. Four of the six tweeted messages that included "#MAGA" or the slogan "Make America Great Again!" Shah tweeted a message from his account citing research from the Republican National Committee. Ditto retweeted Shah's message with RNC research.

OSC found that these messages violated the Hatch Act because they use the political slogan of a current candidate, President Donald Trump, who has announced that he will be running for re-election in 2020. Tweeting those slogans from an account used for official purposes as a federal employee is considered political activity, the letter states. In Shah's and Ditto's cases, they highlighted research conducted by a political party, which OSC considered engaging in prohibited political activity.

Read More