SAN DIEGO -- In what has been an emotional stretch for the San Diego Padres, they have played their best baseball.
The Padres' ninth-inning rally Friday night produced a 6-5 victory over the Los Angeles Dodgers, their third straight victory.
"This has been a tough week for San Diego," Padres manager Bud Black said. "When you look at the whole week, it has been more so than just the game. This was a good win for the city."
More from ESPN.com
The Dodgers' ire after Friday night's loss was greater than one might expect from a team that had won five of six games coming in and had clawed its way out of a deep hole in the standings, Mark Saxon writes. Story
Yasiel Puig, who had two RBIs for the Dodgers, left in the eighth inning with a mild left hip muscle strain.
Seth Smith homered twice, doubled and walked for the Padres. It was Smith's sixth multihomer game of his career.
"I came in early and worked on some things," Smith said. "It's fun when you put in the work and you see the results."
The Padres' bullpen, which has been strong all season, threw four scoreless innings to keep the game close.
"All year long, those guys have done their thing," Black said.
After Smith's second homer in the sixth, the Padres had the tying runs aboard when Cameron Maybin reached on a fielder's choice and Amarista walked. But Jace Peterson struck out to end the threat.
The Dodgers scored three times in the fifth, aided by two wild pitches and an error by Amarista at third base.
With runners in scoring position and the infield playing up, Puig hit a one-out grounder between third and shortstop that deflected off the gloves of Amarista and Cabrera into short let field to score Dee Gordon.
Amarista retrieved the ball, and when his throw home was wide, Hanley Ramirez scored on the error.
Puig advanced to third on the play and scored on Adrian Gonzalez's sacrifice fly for a 5-1 lead.
Gordon opened the game with a triple and scored on Peterson's errant relay throw to third. Later in the inning, Gonzalez doubled and Matt Kemp drove him in with a base hit to left off Amarista's glove for a 2-0 lead.
Smith homered to right-center in the first to bring the Padres within 2-1.
"There are always close games with these guys,'' Dodgers manager Don Mattingly said. "To me, they are one of those clubs that are tough to beat."
The National Baseball Hall of Fame requested Clayton Kershaw's cleats from his Wednesday no-hitter. Kershaw said his accomplishment has started to sink in. "I couldn't sleep very well that night obviously, then the next day to turn on the TV and hear about it was pretty cool stuff," he said. ... Dodgers OF Carl Crawford (left ankle sprain) is still unable to do baseball activities, Mattingly said. ... Padres 3B Chase Headley was out of the lineup with a sore back. ... Padres LHP Robbie Erlin (left elbow soreness) has increased his throwing program and could join the team on its upcoming trip. There is no date for his return. ... Dodgers RHP Josh Beckett (4-4, 2.49 ERA) faces Padres RHP Tyson Ross (6-6, 3.27) on Saturday night.
Copyright by STATS LLC and The Associated Press
SAN DIEGO, CA - JUNE 20: Yasiel Puig #66 of the Los Angeles Dodgers gets ready for batting practice before a...