What originally began as a way to weaken the power of political machines such as Tammany Hall, primary elections gradually became a way for the two mainstream political parties to control the electoral process while creating a clearer divide between the parties.