PHILADELPHIA (AP) -- Yasiel Puig hit a three-run home run, Brett Anderson allowed one run in six innings and the Los Angeles Dodgers beat the Philadelphia Phillies 4-3 on Wednesday night.

Carlos Ruiz of the Philadelphia Phillies tags out Yasiel Puig of the Los Angeles Dodgers at Citizens Bank Park in Philadelphia. (Drew Hallowell, Getty Images)

Howie Kendrick had three hits to help the Dodgers win for the fifth time in six games.

Jeff Francoeur homered for Philadelphia. The Phillies lost for only the fourth time in their last 17 games. They still have the worst record in baseball at 42-66.

Anderson (6-6) won for the first time since July 1. He allowed four hits, struck out five and walked two.

Kenley Jansen struck out the side in a 1-2-3 ninth for his 20th save in his 21st opportunity.

Philadelphia starter Aaron Harang (5-12) reverted back to the form that saw him lose eight straight games prior to winning his last start. The right-hander allowed four runs on seven hits in five innings. He tied his season high with five walks and had one strikeout.

(Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)