The Hatch Act was not enacted during President Grover Cleveland's presidency. The Hatch Act was actually signed into law by President Franklin D. Roosevelt in 1939. It aims to prevent federal employees from engaging in certain political activities and ensures the neutrality of the civil service.