The term was used particularly in politics of the United States, where the federal government operated on a spoils system until the Pendleton Act was passed in 1883 due to a civil service reform movement. Thereafter the spoils system was largely replaced by a nonpartisan merit at the federal level of the United States.
which congressional act was passed to end the abuses of the spoils system
the Pendleton Act