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.

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.

More from FoxSports

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.

Puig launched a hanging curveball into the seats in left with two outs in the first inning to put the Dodgers up 3-0. The Phillies got a run back in the third on Maikel Franco's RBI double.

Harang labored through 104 pitches, but gave up only one more run on Adrian Gonzalez's fifth-inning groundout that put Los Angeles ahead 4-1.

The Dodgers could've increased the margin, but they left the bases loaded in the fifth and sixth innings and left two on in the seventh when Puig misjudged a ball that bounced off the dirt in front of catcher Carlos Ruiz. Puig was easily tagged out after trying to score from third.

Francoeur's two-run shot to left in the eighth off Jim Johnson brought Philadelphia to 4-3.

Former Phillies standout Jimmy Rollins received a standing ovation during his first at-bat for the second straight night. Rollins, who starred in Philadelphia for 15 seasons prior to his trade to Los Angeles last offseason, went 0 for 3.

TRAINER'S ROOM

Phillies: 2B Chase Utley, on the DL since June 23 with right ankle inflammation, went 3 for 4 with a double and an RBI for Double-A Reading on Wednesday night against the Trenton Thunder in his third minor league rehab game. The Phillies will re-evaluate Utley on Thursday before determining whether to continue the rehab assignment or bring him back to the majors. ... RHP Chad Billingsley will have his surgically repaired right elbow re-examined by Dr. Neal ElAttrache in Los Angeles on Thursday. Billingsley, who is trying a comeback with the Phillies this season after two right elbow surgeries, has been on the DL since July 19. He is 2-3 with a 5.84 ERA in seven starts this season.

UP NEXT

Dodgers RHP Zach Greinke (10-2, 1.41) takes the mound against RHP David Buchanan (2-5, 6.44) as the teams wrap up the three-game series Thursday. Greinke allowed one hit in eight scoreless innings, striking out eight and walking none, in the Dodgers' 6-0 home victory over the Phillies on July 9.