DENVER (AP) — Dan Haren struck out a season-high 10, Adam LaRoche homered and the Arizona Diamondbacks beat the Colorado Rockies 5-3 on Monday night.

Carlos Gonzalez homered and drove in both runs for the Rockies, who nearly rallied in the ninth off closer Chad Qualls. With two outs Ian Stewart drove in Todd Helton from second, but Qualls struck out pinch-hitter Jason Giambi with two on for his fifth save in seven chances.

Rockies starter Jason Hammel left the game after three innings with a strained right groin. It's the second straight day a Colorado starter left a game because of injury. Jorge De La Rosa was pulled after five innings Sunday with a bone bruise to his left middle finger.

Haren (3-1) gave up five hits and walked two in eight innings and was in control all night. He retired 15 of 16 batters in one stretch. After Stewart's one-out single in the second he didn't allow a hit until Eric Young Jr. drove a pinch-hit double into right field with one out in the eighth.

Haren got all the support he needed in the first inning when the Diamondbacks jumped on Hammel (0-2). With two outs, Justin Upton walked, Mark Reynolds singled and LaRoche homered into the Rockies bullpen to give Arizona a 3-0 lead.

Gonzalez got a run back when he led off the bottom of the first with his second home run of the season.

The Diamondbacks padded their lead in the second. Kelly Johnson knocked in Chris Snyder with a sacrifice fly, and after Stephen Drew doubled Upton drove him in with a single to center to make it 5-1.

Gonzalez made it 5-2 when he knocked in Young with a single to center in the eighth.

NOTES: Gonzalez has homered to lead off a game three times in his career. ... De La Rosa had an MRI done on his left middle finger Monday but the results weren't announced. ... Diamondbacks OF Gerardo Parra did not play because of a swollen middle finger on his right hand. He was hit by a foul tip in Sunday's game. ... Because of the rainout against Florida on Friday, Rockies LHP Greg Smith will start Wednesday's game on three day's rest.