Mattingly, in the third and final year of his contract, discussed his club's lack of mental toughness and said he wanted a balanced team that has grit and fight. He benched Ethier for the third time in six games and said he was "putting out my lineup that I feel is going to be the most competitive and going to compete the hardest."

SAN FRANCISCO — Ian Desmond singled in Bryce Harper in the 10th inning, helping Washington avoid a three-game series sweep.

Harper hit his 12th homer in the sixth and sparked the winning rally with a one-out double. Ryan Zimmerman was walked intentionally before Desmond came up with his big hit against Jeremy Affeldt (1-1).

Tyler Clippard (3-1) pitched a perfect 10th for the win and Rafael Soriano got three outs for his 14th save. He failed to convert each of his last two chances, including Tuesday night's 4-2 loss.

Buster Posey hit a tying RBI single for San Francisco in the eighth. Marco Scutaro went 0 for 3 with two walks, ending his 19-game hitting streak. He flew out to deep left to end the game.

DENVER — Carlos Gonzalez homered and drove in two runs, Jorge De La Rosa pitched effectively into the sixth and the Rockies took two of three from the Diamondbacks.

Dexter Fowler had two hits in his first start in the cleanup spot and Nolan Arenado added an RBI double as the Rockies caught the Diamondbacks in the standings. Colorado, Arizona and San Francisco are now tied atop the NL West with 26-21 records.

De La Rosa (6-3) allowed a run and six hits in 5 1-3 innings. Edgmer Escalona and Matt Belisle bottled up Arizona to get the ball to Rex Brothers, who closed the ninth with Rafael Betancourt sidelined by a groin injury. It was Brothers' first save of the season.

Arizona right-hander Trevor Cahill (3-5) was charged with four runs and seven hits in six innings.

TORONTO — Jose Bautista homered twice and drove in the winning run with a 10th-inning single, leading the Toronto Blue Jays to a 4-3 victory over the Tampa Bay Rays on Wednesday.

Bautista went 4 for 4 with a walk and four RBIs. Three other players had one hit, but that was it for Toronto's offense.

ATLANTA — Evan Gattis kept up an amazing rookie season with his first grand slam, and Atlanta finished off a sweep of woeful Minnesota.

B.J. Upton and Ramiro Pena also homered as the Braves stretched their winning streak to six games with a second straight series sweep, making things easy for starter Paul Maholm (6-4). The left-hander held the Twins to an unearned run in 7 1-3 innings.

With the Braves already leading 4-0, Gattis struck again less than 24 hours after his two-out, pinch homer in the ninth allowed the Braves to pull out a 5-4 win over the Twins in extra innings.

He was swinging away on a 3-0 pitch with the bases loaded in the fourth and launched an opposite-field drive just inside the right-field pole for the 10th homer of his improbable debut season.

Vance Worley (1-5) had another dismal outing for Minnesota, failing to make it through the fourth as the Twins lost their eighth in a row. He surrendered eight runs and 10 hits in 3 2-3 innings, and was demoted to Triple-A Rochester after the game.