The correct answer is the Pendleton Act.
The goal of this 1883 law was to ensure that individuals hired for government jobs were qualified and capable of completing these jobs. This was implemented to make sure that elected officials did not give these jobs out as a means of reward for help in an election.