Cameron Rupp hit a three-run double with two outs in the 10th inning, and the Philadelphia Phillies beat the Atlanta Braves 7-4 after blowing a four-run lead on Thursday night.

Rupp had been 3 for 22 on the trip and was hitless in four at-bats on the night before his drive into the left-center gap off Ian Krol.

Odubel Herrera matched his career high with four hits, including a triple off Jason Grilli (1-2) leading off the 10th.

Grilli hit Andres Blanco with a pitch, then struck out Maikel Franco. Darin Ruf pinch hit for Ryan Howard and struck out on three pitches against Krol, who loaded the bases with a four-pitch walk to Freddy Galvis.

Andrew Bailey (2-0) got the final out of the ninth, and Jeanmar Gomez pitched the 10th for his major league-leading 13th save in 14 tries.

Atlanta dropped to a big league-worst 8-25, including 2-17 at home.

Sign up for the Newsletter

Get the best of delivered to your inbox every day.

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