It took nearly four hours to see it through, but the Red Sox were able to cap off their road trip in style with a hard-fought victory over the Mariners in extra innings on Wednesday (Roberto Clemente Day) afternoon.

Boston broke out for six runs in the 10th inning to top Seattle by a final score of 9-4, marking their second straight win and their third in their last five games.

Matched up against Mariners starter Marco Gonzales to begin things on Wednesday, the Sox struck early and often to jump out to an early 3-0 lead.

Right out of the gate, Hunter Renfroe crushed a 414-foot solo shot — his 28th home run of the season — off Gonzales in the top half of the first inning. In the second, Kyle Schwarber drew a one-out walk and Bobby Dalbec followed by drilling a ground-rule double to left-center field, paving the way for Kevin Plawecki to drive in a run on an RBI groundout.

Having moved up to third on that play, Dalbec scored on an RBI double off the bat of a seemingly red-hot Jose Iglesias to put Boston up by three.

To that point, Tanner Houck — making his 12th start of the year — had been cruising along for the Red Sox, taking a no-hitter into the third inning before giving up a one-out single to fellow rookie Jarred Kelenic.

Houck proceeded to yield another single to Tom Murphy that should have put runners at the corners, but instead scored a run and put a runner at second base when Hunter Renfroe attempted to gun down Kelenic at third, though his throw eluded Rafael Devers and wound up going out of play.

Kelenic was able to score as a result of Renfroe’s miscue, while Houck walked J.P. Crawford on four pitches, spiked a wild pitch into the dirt that put runners at second and third. The right-hander did get the second out of the third, but could not end it before serving up a two-run double down the left field line to Kyle Seager.

The momentum had shifted going into the fourth with the Mariners battling back to knot things up at three runs apiece. Houck, however, rebounded by punching out the side in the bottom half of the fourth before falling victim to Kelenic once again in the fifth.

The Mariners outfielder led off the fifth inning with a single back up the middle and proceeded to steal second base to put the potential go-ahead run in scoring position. Houck then fanned Tom Murphy for the first out of the frame, and that is when his day came to a close with the Seattle lineup turning back over.

Finishing with a final pitch count of 71 (45 strikes), the 25-year-old wrapped up his outing having allowed three runs — all earned — on four hits, one walk, and seven strikeouts over 4 1/3 innings of work.

Josh Taylor got the first call out of the bullpen from Red Sox manager Alex Cora, and the left-hander officially closed the book on Houck’s start by stranding the lone runner he inherited while recording the last two outs of the fifth.

Garrett Richards took over for Taylor in the sixth and worked his way around a leadoff single by inducing a 6-5-3 double play and getting a strikeout. The veteran righty was nearly rewarded for his effort a half inning later when a walk from Dalbec and two-out single from Iglesias put runners at the corners.

Alex Verdugo came off the bench to pinch-hit for Enrique Hernandez in that spot against right-handed Mariners reliever Paul Sewald and proceeded to lace a 102 mph line drive to left field.

Verdugo’s screamer, which had an expected batting average of .850, was caught by M’s left fielder Luke Fraley, however, and that kept things tied up at 3-3.

Richards, again, faced the minimum three batters in the seventh with the help of a smooth, inning-ending double play started by Iglesias.

After both Devers and J.D. Martinez reached base with two outs off Sewald in the eighth, Schwarber had an opportunity to replicate his late-game heroics from the night before, but flew out to center field to strand the pair of runners.

In the bottom half of the inning, Austin Davis got the first two outs despite Mitch Haniger reaching base on a throwing error committed by Devers, but Adam Ottavino was able work around that by fanning Ty France on three straight strikes.

With former Rays reliever Diego Castillo entering this game for the Mariners in the ninth, neither Dalbec, Christian Vazquez (pinch-hitting for Plawecki), nor Travis Shaw (pinch-hitting for Iglesias) mounted anything resembling a rally, as they were sat down in order.

Ottavino, having needed just three pitches to finish off the eighth, came back out for the ninth. He got the first two outs of the inning rather easily before plunking the pinch-hitting Jake Bauers in the leg. Bauers then stole second base while Kelenic was at the plate, but Ottavino left him there by fanning the top prospect to send this one to extras.

Before Ottavino came through when it mattered most, Jack Lopez had taken over for Shaw at second base. And since Shaw recorded the final out of the ninth, that meant Lopez started the 10th inning as the runner at second base.

With Erik Swanson now on the mound for Seattle, Boston got an immediate boost when Verdugo sliced a single to shallow left field. Lopez, who advanced up to third on Verdugo’s base hit, proceeded to score from there on a passed ball — giving the Red Sox their first lead since the second inning at 4-3.

A walk drawn by Renfroe and bloop single from Bogaerts filled the bases with one out for Martinez, who greeted new Mariners reliever Justus Sheffield by ripping a 107 mph RBI single to the left side of the infield that deflected off Crawford’s glove and brought in Renfroe from third.

That made it a 5-3 contest, but the Sox were not done there, as Schwarber provided some much-needed insurance by lining a two-run single to right field that plated both Bogaerts and Devers and opened up a 7-3 lead for his side.

Vazquez pushed across two more on a two-run, bases-loaded double down the right field line, thus capping off a six-run inning in which Boston sent 10 batters to the plate to give themselves a commanding 9-3 advantage.

Martin Perez was dispatched in the bottom half of the 10th. The left-hander, making his first appearance since being activated from the COVID-19 related injured list on Tuesday, did just that.

Perez did allow one unearned run, but ultimately slammed the door on the Mariners to preserve a 9-4 victory for the Sox.

With the win, the Red Sox secure their first series victory in Seattle since 2013 to finish off a 3-3 road trip and improve to 83-65 on the season. They also remain tied with the Blue Jays for the top American League Wild Card spot.

Next up: Welcoming in the Orioles to kick off the final homestand of 2021

The Red Sox will board a flight to Boston and enjoy a well-deserved off day on Thursday before opening up a three-game weekend series against the lowly Orioles at Fenway Park on Friday night.

Neither team has yet to name a starter for Friday’s series opener, but Boston is expected to activate ace left-hander Chris Sale from the COVID-19 related injured list — meaning that responsibility would fall to him.

Friday’s contest against the O’s will mark the beginning of the Sox’ final (eight-game) homestand of the season. First pitch from Fenway Park is scheduled for 7:10 p.m. eastern time on NESN.

More must-reads:

TODAY'S BEST
Amon-Ra St. Brown gets record contract extension from Lions
Cardinals demote former top prospect following brutal start
Peyton Manning rips Jets for failing QB Zach Wilson
Heat react strongly to claims they put 'code red' on Jayson Tatum
Steelers make notable decision on QB Justin Fields
Cardinals receive two trade offers for No. 4 pick in NFL Draft
Reggie Bush gets major news about his forfeited Heisman Trophy
Jayden Daniels has very lofty goal for his NFL career
Pascal Siakam dominates in Game 2 win over Bucks to tie series for Pacers
Watch: Carter Verhaeghe nets another OT winner for Panthers
Pelicans' Zion Williamson provides major update on hamstring injury
Insider shares what 49ers told Deebo Samuel about his trade status ahead of draft
Yankees' Juan Soto discusses struggles of Aaron Judge
NBA admits several missed calls at end of Knicks-76ers Game 2
NBA Draft analyst shares positive outlook on Zach Edey's pro potential
Spurs rookie voted best defender in the NBA by his peers
Bears GM addresses 'Hollywood' concerns about Caleb Williams
Predators prey upon major Canucks absence, tie series 1-1 with 4-1 win
Watch: Luka Doncic's dagger three evens Mavericks-Clippers series
Second-period goal flurry helps Avalanche beat Jets in Game 2, tie series