The voters from both parties -- and independents -- have spoken. And now the general election races have been set.
Turnout was low in many districts, but in North Andover it was pretty high, at about 14 percent.
House 14th Essex
In a surprise political upset, Methuen's Diana DiZoglio defeated incumbent State Rep. David Torrisi in the Democratic Primary, about 1,600 to 1,435.
Torrisi won in his home town of North Andover (but came up short in every other community in the district.
How North Andover VotedCandidate Votes Percentage David Torrisi 942 70% Diana DiZoglio 402 30%
Senate 1st Essex
In another political upset, in the Democratic Primary former Methuen Mayor William Manzi and Haverhill progressive Timothy Coco were both defeated by Newburyport City Councilor Kathleen O'Connor Ives.
Ives received 3,881 votes, Coco received 3,320 votes and Manzi received 3155 votes.
In the Republican Primary, Haverhill's Shaun Toohey defeated Haverhill's Sam Meas.
How North Andover VotedCandidate Votes Percentage William Manzi 305 28% Timothy Coco 382 36% Kathleen O'Connor Ives 391 35.2%
Candidate Votes Percentage Shaun Toohey 324 61% Sam Meas 207 39%
In the Governor's Council, 5th District, race: Eileen Duff won the Democratic Primary and will face off against Republican Maura Ciardiello.
In the Register of Deeds race: North Andover's Paul Iannuccillo will face off against John Wilson Jr.