Which of the following best defines the term “spoils system”?