The correct answer is pendleton act
It established that merit would decide who gets a job and not political affiliation. That's because people used to give federal position based on political affiliation and this caused many people to be worse than someone who was working there before or who could be working there.