SAN DIEGO -- Christian Villanueva had a hard time walking, yet still managed to get a walk-off hit.
Villanueva, who fouled a ball off his foot on Friday night, had a walk-off pinch-hit single in the ninth inning, and the San Diego Padres ended a five-game skid with a 7-6 win over the Arizona Diamondbacks on Saturday night.
"The manager had asked me if I was good to go, and I took a few swings in the batting cage and said I could do it," Villanueva said through a translator. "It's a dream come true to be able to hit a walk-off up here at the big league level. It's something I've always wanted to do."
Travis Jankowski led off the ninth with a walk against Andrew Chafin (1-4) and advanced to second on a groundout by Eric Hosmer. Yoshihisa Hirano replaced Chafin and intentionally walked Hunter Renfroe.
Villanueva hit for Craig Stammen (6-2) and drove a 2-2 pitch into left field to score Jankowski and give San Diego its first win against Arizona at Petco Park this season. Stammen worked two scoreless innings.
"His foot was huge. It was swollen," Padres manager Andy Green said. "He probably had no business hitting there, but he said he was good to go."
After the broken-bat single landed in shallow left, Villanueva's discomfort left him.
"I forgot about it -- I didn't even think about the pain after that," Villanueva said. "It was a matter of battling through it, especially after they put Renfroe on. Then I really wanted to come through."
Paul Goldschmidt had four hits and drove in four runs while tying a Diamondbacks record by reaching base safely in nine straight plate appearances. Goldschmidt also extended his hitting streak to 11 games.
"I've hit some balls hard," Goldschmidt said. "I've had some good luck. I've had some good swings, which is nice, but I've had some luck going my way to get me a few hits as well."
The Diamondbacks' three-game winning streak ended, and their NL West lead over the Colorado Rockies fell to one-half game.
Arizona built an early lead thanks to doubles by A.J. Pollack and Eduardo Escobar. Goldschmidt singled to give the Diamondbacks a 2-0 advantage, a familiar position for a team that leads the majors in first-inning runs with 107.
San Diego evened the score in the fourth with a three-run inning. Goldschmidt doubled home Escobar in the fifth to build a 5-3 lead.
The Padres answered with three more runs in the fifth. Cory Spangenberg's single gave San Diego its first lead of the series at 6-5.
"It's no secret we have been having a rough time as of late," Green said. "This was a big win for us."
Goldschmidt struck again in the seventh after another double by Pollack, singling against Phil Maton to tie the game.
"It's a tough loss to absorb," Diamondbacks manager Torey Lovullo said. "We've done it before. We can't reverse time and go back and change the way the outcome of the game turned out. We've got to find a way to get this job done tomorrow, and that's what we'll focus on."
Diamondbacks: RHP Zack Grienke (12-8, 3.00 ERA) looks to continue his dominance of the Padres in the finale of the four-game series. Grienke is 11-2 with a 2.10 ERA in his career against San Diego.
More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP-Sports
Athletics' Bob Melvin nabs AL Manager of the Year honors
Oakland Athletics skipper Bob Melvin was named American League Manager of the Year on Tuesday after guiding the team with the lowest Opening Day payroll in baseball to a 97-65 record and its first playoff berth in four years.
Brian Snitker is NL's top manager after leading Braves to East title
After leading the Braves to an unexpected National League East title, Brian Snitker has been named NL Manager of the Year. The Brewers' Craig Counsell and Rockies' Bud Black finished second and third, respectively.
Did Ohtani deserve Rookie of the Year?
Around the Horn discuss whether Shohei Ohtani deserved Rookie of the Year even though he only played 104 games this season.
MLB to investigate claims of racial discrimination vs. Mariners
MLB said in a statement provided to The Athletic that it will investigate allegations of racial discrimination in the Seattle Mariners organization made by a former employee.
Time for Giants to decide what to do with Madison Bumgarner
Forget nostalgia. With Farhan Zaidi taking over the front office, San Francisco must re-evaluate how the hero of Octobers past fits into the franchise's future.
Phillies manager Gabe Kapler loses Malibu home in Woolsey Fire
Phillies manager Gabe Kapler is thankful his family is safe after his Malibu home was destroyed in the Woolsey Fire that has burned at least 435 buildings and is threatening tens of thousands more.