LOS ANGELES — Chipper Jones left Dodger Stadium for perhaps the last time with some more fond memories.

One night after homering on his 40th birthday, Jones singled home the go-ahead run in his final regular-season at-bat at Chavez Ravine after Dan Uggla tied it with his second RBI single earlier in the ninth inning, and the Atlanta Braves defeated Los Angeles, 4-2, late Wednesday.

Jones also made a couple of fielding gems at third base, robbing A.J. Ellis of a potential RBI single in the hole with a diving stop and then throwing him out to end the sixth, then doing the same to Dee Gordon to end the game.

“I was like a school kid out there. I mean, that’s what you play the game for — moments like that,” Jones said. “You don’t know how many times I’ve rehearsed that very moment in my backyard growing up, only I was a Dodger. It’s indescribable.”

Dodgers closer Javy Guerra (1-3) gave up five consecutive one-out hits in the ninth. The second one was a liner by Brian McCann that ricocheted off his face, but manager Don Mattingly kept the right-hander in there and he surrendered RBI singles to Uggla, Jones and Jason Heyward.

Incredibly, the crowd booed him when he returned to the dugout after being relieved by Josh Lindblom.

“These are not our fans, but I was a little disappointed that they booed him,” Braves manager Freddy Garcia said. “This guy took one in the face and he tried to stay in there and save the game — and they booed him coming off the field. But you’ve got to give the guy some credit for some courage there.”

Jonny Venters (2-0) struck out the side in the eighth inning and Craig Kimbrel got the last three outs for his seventh save.

Dodgers left-hander Ted Lilly threw just 79 pitches, allowing a run and three hits. He lowered his ERA to 0.90.

Beachy allowed two runs and seven hits in 6 1/3 innings, raising his ERA from 0.47 to 1.05. The 25-year-old right-hander returned to the site of his first major league victory on April 19, 2011, when he yielded just two hits over six scoreless innings in a 10-1 win.

Matt Kemp tied a franchise record for April with his 10th home run, a one-run shot in the sixth that put the Dodgers up 2-1.