spoils system
the practice of giving government jobs to loyal supporters
resign
to give up an office or position