What is the Pendelton Civil Service Act?

The Pendleton Civil Service Reform Act of 1883 was a law mandating that government jobs be merit based. This act prevented hiring and firing based only politics and campaign donations.