For a good chunk of the afternoon, it seemed the Boston Red Sox were about to squander a much-needed sweep of the Baltimore Orioles.

Nathan Eovaldi was roughed up through two innings and Boston faced a six-run deficit early on, but its bats (and some serious struggles from the O’s) led to a 13-7 Red Sox win, completing a three-game brooming of Baltimore at Fenway Park on Sunday.

Boston trailed until the sixth, when the Red Sox sent 12 batters to the plate and took control of the game. Boston’s bullpen combined to allow just two runs (one earned) over seven innings of work.

The Red Sox now are 67-59 following the win, while the Orioles moved to 39-85 with the loss.

Here’s how it all went down:

GAME IN A WORD
Sweep.

Not a bad weekend.

ON THE BUMP
— Eovaldi’s first start since April certainly did not go the way he wanted it to.

The hard-throwing right-hander gave off a leadoff double to begin the game, followed by a walk. Renato Nunez made Eovaldi pay one batter later, drilling a towering home run that cleared everything in left field to make it 3-0.

— Baltimore fell apart in the sixth, with Boston batting around the order and plating six runs.

Starter Ty Blach was removed following a Martinez double and a walk. Christian Vazquez followed up with a line-drive double off Gabriel Ynoa that brought Martinez home to make it 6-4. Mitch Moreland then lofted a pop up behind the shortstop, which crossed up three O’s and resulted in the ball falling in and plating two runs after a throwing error by Jonathan Villar.