Ron Chenoy-USA TODAY Sports

Hunter Goodman hit a three-run homer in a six-run eighth inning, and the Colorado Rockies rallied to beat the San Diego Padres 10-9 in Denver on Thursday.

Colorado trailed 9-4 entering the eighth but rallied against San Diego's bullpen. Goodman started the comeback with a three-run homer off of Wandy Peralta (1-1).

Jacob Stallings followed with a single, Ezequiel Tovar walked and Brenton Doyle singled to make it 9-8. A passed ball by catcher Luis Campusano brought home Tovar with the tying run and Elias Diaz delivered an RBI single to left to put the Rockies in front.

Justin Lawrence struck out Ha-Seong Kim to end the game and pick up his second save.

Elehuris Montero also went deep, Doyle had three hits, Jake Cave had two singles and Diaz drove in three runs to help the Rockies split the four-game series.

Tyler Kinley (1-0) tossed an inning of relief to pick up the win for Colorado.

Jurickson Profar homered among his two hits, Kim also had a home run and Xander Bogaerts finished with two hits for the Padres.

Neither starter made it past the fourth inning. San Diego's Randy Vasquez was pulled after allowing four runs on six hits in 2 2/3 innings, and Rockies starter Dakota Hudson came out after giving up six runs on six hits in 3 1/3 innings.

Colorado scored first for just the fourth time this season on Diaz's sacrifice fly in the first inning, but the Padres answered in the second when Campusano scored on a groundout.

Profar's RBI single and a two-run homer from Kim, his fourth of the season, gave San Diego a 4-1 lead in the third but the Rockies tied it on Diaz's RBI groundout and Montero's two-run homer. It was his first of the season.

The Padres went back in front in the fourth on Bogaerts' RBI double and a sacrifice fly by Jake Cronenworth. Profar's two-run homer in the seventh, his third, made it 8-4 and Eguy Rosario's run-scoring single in the eighth made it a five-run game.

More must-reads:

TODAY'S BEST
Pacers' Pascal Siakam leads team to Game 6 win vs. Knicks
Watch: Matt Duchene's 2OT winner sends Stars to conference final
Scottie Scheffler shoots improbable 66 after warming up for PGA Championship in a jail cell
Report: Tua Tagovailoa away from Dolphins amid contract chatter
Nuggets star has worrying comment about latest injury
Paul Skenes makes incredible Wrigley Field history in second-career MLB start
Giants rookie CF to undergo season-ending labrum surgery
Yankees' Juan Soto reacts to Hal Steinbrenner contract talk
Late goal sends Panthers to Eastern Conference Finals
Ex-teammate of Shohei Ohtani placed bets with same illegal bookmaker as interpreter 
Former Rams first-round pick retires from NFL after 11 seasons
Insider provides major injury update on Celtics' Kristaps Porzingis
Watch: Bruins strike first in Game 6 with incredible backhand goal
Dodgers make series of moves involving notable players
Hurricanes not expected to re-sign defenseman, center
Maple Leafs tab former Stanley Cup winner as new head coach
NFL insider expands on competition between Steelers QBs Russell Wilson, Justin Fields
NFL sets outrageous prices for Eagles-Packers Brazil game
Broncos 'very unlikely' to bring back former NFL interceptions leader
Greg Olsen offers broadcasting advice to Tom Brady