Updated

DENVER (AP) — Seth Smith, Carlos Gonzalez and Ryan Spilborghs hit consecutive home runs in the seventh inning, Troy Tulowitzki also homered and the Colorado Rockies beat the Arizona Diamondbacks 8-2 on Thursday to sweep the three-game series.

Gonzalez and Spilborghs finished with three hits each for the Rockies, who have won a season-high five straight. Stephen Drew had two hits and scored a run for Arizona, which has dropped four in a row.

The game was close until the Rockies' bats exploded off Dan Haren (5-4) in the seventh. Ahead 4-2, Clint Barmes singled with one out and Smith, battling flu symptoms, hit the fifth pinch-hit homer of his career and his seventh of the season.

Gonzalez followed with his sixth and Spilborghs hit his third on the next pitch to make it 8-2 and chase Haren.

It was the first time the Rockies hit three consecutive homers since April 27, 2004, when Jeromy Burnitz, Charles Johnson and Matt Holliday did it. It was also the second straight game Smith and Gonzalez have hit back-to-back homers and third time this year.

Haren, who gave up all eight runs and struck out six in 6 1-3 innings, has allowed a major league-high 16 home runs this year.

Like they did in the first two games of the series, the Rockies took an early lead. Gonzalez led off with a single and advanced to second when centerfielder Chris Young misplayed the ball. Spilborghs followed with a double off the right-field wall to score Gonzalez, and after Jason Giambi struck out, Tulowitzki homered to left to make it 3-0.

It was his sixth home run of the year and fourth in five games. The homer also extended his hitting streak to 11 games.

Jason Hammel (2-3) was cruising until the sixth. He walked Stephen Drew and Adam LaRoche, and with one out Mark Reynolds' flare to left loaded the bases. Chris Young's pop single to right scored Drew and then Hammel hit Chris Snyder to bring in another run and make it 3-2.

Matt Daley relieved Hammel and struck out Haren for the second out, and lefty Randy Flores came in and retired Kelly Johnson on a liner to right.

Aside from the sixth, the Diamondbacks' bats were silent, striking out 14 times.

Hammel allowed two runs on seven hits, walked two and tied a career high with eight strikeouts in 5 1-3 innings.

The Rockies got one back in their half of the inning. Haren, who retired 13 straight after Tulowitzki's homer, gave up a leadoff double to Gonzalez, Spilborghs singled and Giambi hit a sacrifice fly to make it 4-2.

NOTES: The Rockies recalled Daley from Triple-A before the game and optioned LHP Greg Smith. ... Colorado RHP Huston Street (right shoulder inflammation) threw a bullpen session before Thursday's game.