LOS ANGELES — A.J. Ellis hit an RBI single in the ninth inning, Hanley Ramirez hit a tape-measure, three-run homer in the first against Cliff Lee and the Los Angeles Dodgers beat the Philadelphia Phillies 4-3 on Saturday night.

Philadelphia's Chase Utley homered in his first two career at-bats against Hyun-Jin Ryu. But the Dodgers won for the seventh in eight games, bouncing back from a 16-1 loss Friday that was the franchise's most lopsided at home since a 19-2 rout by the New York Giants on July 3, 1947 — during Jackie Robinson's rookie season.

Ramirez led off the ninth against rookie Justin De Fratus (2-3) with a single before Matt Kemp took a called third strike. De Fratus walked Andre Ethier before Ellis lined a 2-2 pitch to right, scoring Ramirez.