The United States Supreme Court has declared unconstitutional the type of law Congress invented 140 years ago to mitigate the evils of spoils system politics. In a spoils system, the president is free to fill administrative agencies with political loyalists even if they lack qualifications.