BRISTOL, Conn. — Josh Gagne struck out six and walked two in a six-hitter Wednesday as Rochester, New Hampshire, rallied to a 4-3 victory over Yankee Ford in an American Legion baseball Northeast Regional opener.

Yankee Ford, with players from South Portland and Cape Elizabeth, will take on Pittsfield, Massachusetts, in the losers’ bracket of the eight-team double-elimination tournament at 9:30 a.m. Thursday.

Trailing 2-0, Yankee Ford scored its three runs in the sixth inning. Ben Conti hit a two-run triple, then scored on an error.

Rochester then won it with a two-run seventh. It tied the game when Ben Gravel scored on a groundout, then went ahead when Yankee Ford third baseman Alex Livingston made a diving stop with the bases loaded and attempted to tag the runner advancing to third, but the runner was ruled safe as Shaun Cormier scored.

NECBL

THE SANFORD Mainers, who won the Northern Division with a record of 26-17, will open their best-of-three division semifinal series against the fourth-seeded Upper Valley Nighthawks at Goodall Park at 6:30 p.m. Thursday.

The second game will be Friday at White River Junction, Vermont, with a deciding game, if necessary, in Sanford on Saturday night.

The Nighthawks clinched the fourth seed by winning a pair of play-in games Wednesday that were necessary due to a four-way tie for fourth place.

TWILIGHT LEAGUE

ON TARGET 7, PATRIOT INSURANCE 3: Jamie Collins drove in the go-ahead run with a two-run homer during a five-run eighth inning as On Target rallied past Patriot Insurance in a playoff game at Deering Oaks.

On Target advanced to face Aero Heating & Ventilating in the best-of-three championship series starting Friday.