The Hatch Act, which became law in 1939, prohibits federal workers from conducting partisan political activities on official time.