BOSTON (AP) — Victor Martinez had five hits, including a career-high four doubles — one of them to break a sixth-inning tie after Oakland walked the bases loaded — and the Boston Red Sox rallied from a four-run deficit to beat the Athletics 9-4 on Tuesday night.

John Lackey (6-3) spotted the A’s a 4-0 lead before Adrian Beltre hit a three-run homer in the fifth. In the sixth, Bill Hall reached on a leadoff walk and then Darnell McDonald and Marco Scutaro both tried to sacrifice bunt but wound up walking as well.

Hall scored to tie it on Dustin Pedroia’s double-play grounder, then Martinez’s line drive one-hopped into the stands to make it 5-4. Hall added an RBI triple in the seventh, and Martinez also hit an RBI double and scored in the eighth, when the Red Sox added three more runs to take a 9-4 lead.

Lackey struggled through six innings, giving up four runs on 12 hits and four walks while striking out two as the Red Sox won their third straight and for the eighth time in their last 10 games.

Tyson Ross (1-4) inherited a 4-3 lad when he relieved Gio Gonzalez at the start of the sixth and walked both batters he faced before Craig Breslow came in to face Scutaro. Gabe Gross had three hits for the A’s, who had won five of their previous six games.

Pedroia doubled in the eighth to snap an 0-for-17 slump, then scored on Martinez’s fourth double of the game. Kevin Youkils and J.D. Drew added RBI singles to make it 9-4.

Daric Barton hit a two-run homer for Oakland in the third. The A’s made it 4-0 when Ryan Sweeney doubled and scored on Jack Cust’s single, then Cust scored on Mark Ellis’ bloop double to right.

But the Red Sox got back in the game in the fifth on one swing from Beltre, who had three hits.

After Martinez doubled off the Green Monster and Youkilis singled off third baseman Kevin Kouzmanoff’s glove, Beltre smacked the ball so hard off the Monster Seats that it bounced much of the way back toward the infield. Gonzalez got Drew on a meek check-swing bouncer back to the mound to end the inning.

Only subscribers are eligible to post comments. Please subscribe or to participate in the conversation. Here’s why.

Use the form below to reset your password. When you've submitted your account email, we will send an email with a reset code.