ATLANTA — Freddie Freeman's 30-game hitting streak ended when he struck out in the eighth inning of a tie game Thursday night, but the Atlanta Braves managed to score four runs after that off Philadelphia closer Jeanmar Gomez and beat the Phillies 5-2.

Tied 1-1 with rookie Dansby Swanson at first base, Freeman whiffed to end the longest hitting streak in the majors since Dan Uggla (33) in 2011.

Matt Kemp followed Freeman with an RBI double off the wall in right field, Jace Peterson added an RBI single and pinch-hitter Emilio Bonafacio drove in two more with a hit off Gomez (3-5).

Mauricio Cabrera (5-1) picked up the win with 1/3 of an inning of work.

Swanson hit his third home run to tie the game in the sixth.

The Braves have beaten the Phillies seven straight times, and won 10 of 11 overall. Philadelphia is heading home after losing six of seven on a road trip that saw them outscored 68-33.