All of this helps us understand how the spoils system became rampant in the nineteenth century. The resources required to win a nationwide presidential election were too massive for parties to raise on their own, and so they turned to the public treasury for partisan purposes, rewarding their friends with jobs, contracts, sinecures, and so on as the spoils of victory. The Constitution anticipates that such corruption will not happen; the Congress is expected to check a president who abuses the public trust in such a fashion, or vice versa. But the political parties united these disparate entities in a shared quest for power, and therefore plunder. The result was an institutionalized form of corruption that would endure for generations, and indeed continues in one form or another to this very day.
Cost, Jay (2015-02-10). A Republic No More: Big Government and the Rise of American Political Corruption (p. 64). Encounter Books. Kindle Edition.