The Hatch Act was created in 1939 to protect federal employees from political coercion in the workplace, to ensure employees are advanced based on merit rather than political affiliation, and to ensure activities of the federal government are carried out in a nonpartisan fashion.