BANGOR, Maine — The Bangor High School girls softball team needed insurance runs in its Eastern Maine Class A game against visiting Lawrence of Fairfield.

Junior third baseman Sarah Bragg provided that cushion.

Bragg doubled home a fifth-inning run and eventually scored on a wild pitch to turn a 3-2 lead into a 5-2 advantage, and the undefeated Rams went on to post a 7-4 victory over the scrappy Bulldogs.

Bangor improved to 5-0, and Lawrence fell to 2-3.

Cordelia Stewart opened the fifth with a base hit off pitcher Sam Marshall’s glove, moved to second on a passed ball and scored when Bragg ripped a sharp ground ball down the third-base line.

She continued to third on an outfield error and scored on the wild pitch.

“Coach [Don Stanhope] told me to find the ball and move people around so we could get some runs,” said Bragg.

Bangor senior right fielder Lilli Wiseman triggered a two-run sixth-inning rally with a sharp double into the left center field gap.

“I had been struggling a little bit. So I tried to keep my head down and swing through the ball,” said Wiseman, who scored when no one covered first on Megan Conner’s sacrifice bunt and the throw sailed into foul territory.

Stewart spiked an RBI single to right to make it 7-2.

The Bulldogs rallied in the seventh on an infield throwing error, Paige Belanger’s RBI opposite-field double, Emily McLean’s infield single and Sydney Knowlton’s run-scoring fielder’s choice.

But senior right-hander Emily Reilly struck out the next hitter and got a grounder to first to pick up her third win.

Reilly pitched a seven-hitter, striking out 10 and walking two. She threw 121 pitches, 78 for strikes.

“I settled down as the game went along,” said Reilly. “I was a little nervous when they started hitting early in the game. But I took a deep breath, relaxed and trusted my defense do the work.”

She focused on changing speeds.

“She liked to pitch inside, which was a really smart move,” said Lawrence senior second baseman McLean, who had two singles and a walk. “You can’t do much with an inside pitch, and she threw it there very well.”

Lawrence took a 1-0 lead in the first inning on a walk, Knowlton’s long double to the base of the fence and Sarah Chase’s RBI groundout.

But Bangor answered with two in the bottom of the first on Emily Gilmore’s one-out double, Reilly’s two-out RBI single to center and Bragg’s run-scoring double to left center.

“We hit the ball hard in the first, but you’ve got to give Bangor credit for answering back. If they hadn’t answered back, it might have been a different game,” said Lawrence coach Joey Marcoux. “But I was very pleased with our effort today. That’s a real good team in the other dugout. We battled hard, and we had a freshman pitcher and catcher [Haley Holt].”

“[Marshall] pitched really well,” said Stanhope. “And Lawrence always plays us real well. They beat us here two years ago.”

Marshall gave up 11 hits with five strikeouts and a walk.

“I did the best I could,” said Marshall. “I tried to throw some curves and changeups to throw them off a little bit.”

Bangor made it 3-1 in the third on Stewart’s single, Reilly’s double and an error, but Lawrence pulled within a run in the fifth on Belanger’s double and Chase’s infield single.

Stewart had three singles and an RBI for Bangor. Bragg had two doubles and two RBIs, and Reilly and Wiseman each doubled and singled.

Belanger doubled twice and had an RBI for Lawrence, and McLean singled twice.