PHOENIX _ Right-hander Brandon McCarthy completed seven innings for the first time since undergoing Tommy John surgery in 2015 as the Dodgers beat the Arizona Diamondbacks, 6-2, Sunday afternoon.
The win allowed the Dodgers to avoid a series sweep at Chase Field, something that hasn't happened in a three-game visit since 2008.
McCarthy made his only mistake of the day in the first inning when he gave up a two-run home run to Paul Goldschmidt. It was Goldschmidt's 25th career home run against the Dodgers, the most among active players.
McCarthy gave up three hits in that first inning but was in command after that, retiring 12 of the next 13 batters before allowing another hit. He finished with five hits allowed, one walk and six strikeouts and joined Clayton Kershaw as the only Dodgers starters to complete seven innings in a start this season.
The Dodgers are 6-2 in games started by either Kershaw or McCarthy (3-8 when anyone else starts).
McCarthy was on the wrong side of a 2-0 score after Goldschmidt's home run until the Dodgers' offense came to life in the fifth inning. The first six Dodgers reached base that inning and all came around to score.
Diamondbacks starter Shelby Miller walked McCarthy and Joc Pederson to jump-start the Dodgers offense and wound up leaving with an injury. Randall Delgado replaced him after two runs scored on a double by Corey Seager and gave up three more hits _ a single by Justin Turner, a two-run double by Adrian Gonzalez and a two-run home run by Yasmani Grandal.
Pederson later left the game with tightness in his right groin.
Pedro Baez and Sergio Romo each pitched a scoreless inning in relief to close it out for the Dodgers.