Vineyard Democrats strongly favored outgoing Cape and Islands state Sen. Robert O’Leary for the 10th district seat in the House in Tuesday’s state primary but it was not enough, and Norfolk District Attorney William Keating’s overwhelming vote in larger mainland precincts saw him win the party’s nod.

Along with the rest of the commonwealth, Vineyard voters will now choose between Republican Jeff Perry and Mr. Keating in November after yesterday’s primary contest for the Washington congressional seat long held by William Delahunt.

In the Cape and Islands state senate contest, Cape Air founder and president Dan Wolf comfortably won the Democratic nomination, netting about two-thirds of the vote, both on the Vineyard and beyond. Mr. O’Leary, who chose to not seek re-election in November and make a bid for Congress, will now be out of office altogether come January after his primary loss.

Mr. Wolf’s opponent was Sheila Lyons, a social worker and Wellfleet official. Next Mr. Wolf will face Republican James Crocker, who also won a handy majority of his party’s voters yesterday.

The Democratic field of five vying for Governor’s Council was undeclared Tuesday night — but victory was out of reach for Oak Bluffs resident Tom Hallahan, despite that he won hands-down in Vineyard voting booths.

Two women will vie for the Massachusetts auditor job: Democrat Suzanne Bump will face Republican Mary Connaughton.

Victors from each party will face each other — and independent or third-party candidates — in the Nov. 2 general election.