© 2011 MLB Advanced Media, L.P. All rights reserved.

03/24/11 7:24 PM ET

Ellis' homer caps seven-run ninth for Dodgers

GLENDALE, Ariz. -- Trailing by five runs in the ninth, the Dodgers rallied for a 7-5 win against the Rockies after A.J. Ellis' walk-off three-run homer on Thursday.

Gabe Kapler got the Dodgers on the board with a two-run double with one out in the ninth, and scored on an Ivan De Jesus Jr. single. De Jesus scored on a wild pitch, and Ellis crushed his homer over the left-field wall off of Rockies reliever Chris Malone.

Jhoulys Chacin, who allowed five hits over four scoreless innings, out-pitched Dodgers starter Hiroki Kuroda, who was charged with five earned runs in six-plus innings with four strikeouts and a walk.

The Rockies got to Kuroda in the fourth inning. Jonathan Herrera led off with a single and was doubled home by Seth Smith. Mike Jacobs singled Smith to third and he scored on a sacrifice fly by Ty Wigginton.

Wigginton added another RBI off Kuroda in the sixth inning on a bloop single to center after a single by Smith and a walk to Jacobs. Colorado scored a second run in the sixth when De Jesus threw away a double-play relay on Ian Stewart's grounder. Colorado added a fifth run in the seventh after Matt Pagnozzi led off with a double and scored on Herrera's triple.

Up next for Rockies: Right-hander Esmil Rogers, the newly minted fifth starter in the Rockies' rotation, will make his final Cactus League start against the Rangers on Friday at 7:40 p.m. MT at Salt River Fields at Talking Stick.

Up next for Dodgers: The Dodgers play split-squad games on Friday. Andre Ethier, James Loney and Jamey Carroll will travel to Tucson, where the Dodgers play the D-backs in a benefit game at 1:05 p.m. PT for the Tucson Together Fund, which assists victims, families, and witnesses of the Jan. 8 tragedy in Tucson that claimed the life of Christina-Taylor Green, 9-year-old daughter of Dodgers scout John Green. Tim Redding and Rubby De La Rosa will pitch for the Dodgers. Matt Kemp, Rafael Furcal and Juan Uribe lead the other squad in a game in Peoria against Seattle at 7:05 p.m. PT, with John Ely starting.

Ken Gurnick is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.