MINNEAPOLIS — Jed Lowrie's foul ball that turned into a two-run double after umpires changed the call highlighted a 10-run fourth inning for Oakland in an 18-3 win over Minnesota on Wednesday.

MINNEAPOLIS — Jed Lowrie's foul ball that turned into a two-run double after umpires changed the call highlighted a 10-run fourth inning for Oakland in an 18-3 win over Minnesota on Wednesday.

Every Oakland starter had at least one hit, one run and one RBI as the A's recorded a season-high 22 hits and extended their lead over Texas in the AL West to three games.

Lowrie, Coco Crisp and Stephen Vogt also homered. Yoenis Cespedes had three RBIs to help the A's score their most runs in a game since beating Boston 20-2 on Aug. 31, 2012.

With runners on second and third and three runs already in, Lowrie lined a ball down the line in the fourth that first-base umpire Bill Miller ruled foul as he danced out of the way.

Lowrie pointed at the ground inside the white line where he thought the ball hit. Oakland manager Bob Melvin came out to argue, and Lowrie was eventually awarded a two-run double after the entire umpire crew huddled and changed the call.

Twins manager Ron Gardenhire was ejected by Miller after a long argument.

Sonny Gray (3-3), who had received fewer than four runs of support over his last six starts, struck out seven in five innings for the win.

In the fifth, Josh Reddick of the A's drove a ball off the top of the wall in the right-field corner that Miller ruled a home run.

The call was overturned after a replay review — the first at Target Field this season — and Reddick had to trot back out of the dugout to second base.

Astros 6, Mariners 1

At Seattle, Brad Peacock gave up one run in six innings and Chris Carter singled in two runs to lead Houston to the three-game sweep.

Kendrys Morales hit the 100th home run of his career for Seattle, which has lost four straight at home.

Peacock (5-5) allowed four hits, struck out four, walked one and retired the final nine batters he faced. Josh Zeid got out of an eighth-inning jam and finished the ninth for his first career save.

Red Sox 7, Rays 3

At St. Petersburg, Fla., Mike Carp connected for a pinch-hit grand slam in the 10th inning and AL East-leading Boston beat Tampa Bay.

Carp sent a drive over the center-field fence on the first pitch from Roberto Hernandez. It was the first pinch-hit grand slam for Boston since Kevin Millar hit one at Milwaukee on June 7, 2003.

Yankees 5, Orioles 4

At Baltimore, Robinson Cano hit a tiebreaking homer leading off the ninth inning, and New York also got solo shots from Alex Rodriguez and Curtis Granderson.

Tigers 1, White Sox 0

At Chicago, Anibal Sanchez struck out 10 for Detroit.

Sanchez (14-7) allowed five hits and walked four in 71/3 innings while lowering his AL-best ERA to 2.50. Joaquin Benoit got three outs for his 18th save in as many opportunities, completing a five-hitter for Detroit's 11th shutout of the season.

Royals 6, Indians 2

At Cleveland, Alex Gordon homered on the game's first pitch and Kansas City's James Shields dominated after a shaky first inning.

Kansas City took two of three in the series between clubs that are in contention for the second wild card spot in the AL. The Royals, who entered Wednesday trailing Tampa Bay by three games, moved a game closer to the Indians. Cleveland was 11/2; games behind the Rays.

Angels 5, Blue Jays 4

At Toronto, Kole Calhoun hit a tiebreaking sacrifice fly in the eighth inning and C.J. Wilson won his eighth straight decision for Los Angeles.

National League

Giants 4, Rockies 3

At San Francisco, Marco Scutaro and Brandon Belt hit consecutive RBI singles in the eighth inning to help San Francisco rally for the victory.

The Giants loaded the bases with one out against Matt Belisle (5-7), and Scutaro followed with a tying single into right field. Belt's hit drove in Angel Pagan and gave San Francisco a 4-3 lead.

Marlins 5, Braves 2

At Miami, in his season finale, Miami Marlins rookie Jose Fernandez pitched seven innings, hit his first major league homer and engaged in a standoff with the annoyed Atlanta Braves that cleared both benches and bullpens.

Nationals 3, Mets 0

At New York, Dan Haren pitched one-hit ball for six innings, Ryan Zimmerman homered and Washington earned its fifth consecutive win.

Diamondbacks 4, Dodgers 1

At Los Angeles, Paul Goldschmidt had four hits and two RBIs, helping the Diamondbacks snap a five-game skid against the Dodgers.

Patrick Corbin (14-6) ended a three-game losing streak while improving to 2-0 in three starts at Dodger Stadium. The left-hander allowed one run and eight hits in 61/3 innings.

Cardinals 5, Brewers 1

At St. Louis, Matt Adams hit a two-run homer in St. Louis' four-run eighth inning, helping the Cardinals to their fifth consecutive win.

Reds 6, Cubs 0

At Cincinnati, Devin Mesoraco homered for the first time in a month, Jack Hannahan added his first career pinch-hit homer and the Reds avoided a sweep by the last-place Cubs.

Phillies 4, Padres 2

At Philadelphia, Cliff Lee pitched eight sharp innings and Freddy Galvis had three hits for Philadelphia.

Lee (13-6) allowed two runs and five hits, struck out nine and walked one. It was the second straight eight-inning outing and fourth in the last six starts for Lee, who pounded his glove and skipped toward the dugout after fanning Jedd Gyorko to end the eighth.


Pirates 7, Rangers 5

At Arlington, Texas, Clint Barmes homered and drew a bases-loaded walk as Pittsburgh completed a three-game sweep in an interleague matchup of wild-card leaders.