The Hatch Act (USA) of 1939 aimed at corrupt political practices, prevented federal civil servants from campaigning.
See also: Pendleton Civil Service Reform Act