How did the spoils system affect president James Garfield and his successor Chester A. Arthur?

In one to two sentences pls.

The spoils system had a negative impact on President James Garfield as he was assassinated by a disappointed office-seeker, while his successor Chester A. Arthur implemented civil service reforms in an effort to curb corruption and restore trust in the government.