​​​​​​​​​​​​​​​​​The Hatch Act, a federal law passed in 1939, limits certain political activities of federal employees, as well as some state, D.C., and local government employees who work in connection with federally funded programs. ​The law’s purposes are to ensure that federal programs are administered in a nonpartisan fashion, to protect federal employees from political coercion in the workplace, and to ensure that federal employees are advanced based on merit and not based on political affiliation.​​​​ ​​