BOSTON — Ty Wigginton hadn’t hit a homer in 25 games, so he wasn’t picky about how he broke the streak.

Wigginton sent a pitch just over the low wall next to the foul pole in right field for a three-run shot Tuesday night, breaking a seventh-inning tie and lifting the Baltimore Orioles to a 9-1 victory against the Boston Red Sox.

“It feels good any time you get a homer,” Wigginton said. “You take them any way you can get them.”

On Monday night, he broke another seventh-inning tie with a sacrifice fly to deep center as the Orioles beat the Red Sox, 4-2.

“I joked with him (Monday) when he could have had two homers, probably, in the wind,” Brian Roberts of Baltimore said.

“I said, ‘You’ll get a cheap one, I’m sure, don’t worry.’ I was kidding. I didn’t know that there were cheap homers out there, but it was good for him because he’s been swinging the bat really well and hasn’t had a ton to show for it lately.”

Wigginton’s 21st homer came off Scott Atchison (2-3) and made the score 4-1. Boston Manager Terry Francona had planned to keep starter Clay Buchholz in the game if second baseman Marco Scutaro had caught Felix Pie’s high pop for the third out in the sixth. Instead it ticked off Scutaro’s glove for an error and Adam Jones, who had singled, scored the tying run.

Buchholz needed six more pitches to end the inning, bringing his total to 112 and ending Francona’s plan to stay with Buchholz and finish up with his best relievers, Daniel Bard and Jonathan Papelbon.

Scutaro, Francona said. “didn’t get behind (the ball) and you could see once it got over his head he wasn’t going to catch up to it.”

Brad Bergesen (8-10) of Baltimore gave up one run and five hits in six innings, allowing three runs or fewer for the ninth time in his last 10 starts. He finished his outing by retiring Daniel Nava on a called third strike.

“Emotions were really flying high after getting a hold like that with second and third,” Bergesen said, “and to get the call right there, (we were) able to go in and give our team a chance to take the lead.”

Cesar Izturis led off the top of the seventh with a single and was forced at second on a grounder by Roberts. Nick Markakis singled and Wigginton hit Atchison’s first pitch to him for a homer.

“I’ve got to come in right there and keep it at 1-1 and give the offense a chance to get us back ahead,” Atchison said.

“Wigginton hit a decent pitch and put it in the right spot.”

The Orioles added a run in the eighth on Robert Andino’s sacrifice fly and four in the ninth off Papelbon.

“It’s tough when you bring a closer in a non-save situation,” Red Sox catcher Victor Martinez said. “You’re used to coming in with the game on the line.”