The Pendleton Act helped to relieve the issue of corruption in government. How did this act accomplish this goal?

A. Government jobs had to be drawn from a hat
B. Employment was based on exam
C. The president's party was to choose candidates
D. States were given authority to pick the jobs