It is called the spoil system. The presidents could choose whoever they wanted to be put into office. Does this answer your question?
9.4m questions
12.2m answers