The stated purpose of McCain-Feingold was to purge politics of corruption by: (a) putting restrictions on paid advertising during the weeks just prior to political elections, and (b) tightly regulating the amount of money that political parties and candidates could accept from donors.