What was the spoils system?

A. Jackson spoiled the presidency for those who would come after.
B. Jackson rewarded people with government appointments.
C. Jackson removed all the corrupt government officials.
D. Jackson took land and treasures from Native tribes.