The Office of Special Counsel, an independent federal investigative and prosecutorial agency, is tasked with protecting federal employees and draws its authority from laws, including the Hatch Act.
That act, enacted during President Franklin Roosevelt's administration, took aim at "old-style corruption" and political patronage, said Paul Bender, a professor of law at Arizona State University's Sandra Day O'Connor College of Law.
For example, according to the Office of Special Counsel's website, employees directly covered by the law can't run for partisan office, organize or attend political fundraisers, participate in political activity while using their official titles or postions, wear political buttons or clothing or invite or pressure co-workers to attend political events, or make partisan comments on blogs or social media...