ST. PAUL, Minn. (AP) — A measure that would replace Minnesota's caucus system with a presidential primary is headed to Gov. Mark Dayton's desk.

The state Senate on Saturday voted 41-11 to establish a new presidential primary system in Minnesota.

Lawmakers brought the measure this year after voters and party officials alike were frustrated by overcrowded polling sites with long lines across the state.

Opponents of the caucus system have long argued that the insider nature of the caucus system discourages the average citizen from voting and that in years of high turnout, volunteers and facilities can become overwhelmed.

The vast majority of states use a presidential primary system.

Dayton has indicated he'll sign the bill.