ATLANTA (AP) -- Eury Perez drove in the go-ahead run in the eighth inning and Nick Markakis had three RBIs to help the Atlanta Braves beat the Miami Marlins 9-8 on Thursday night.
Adonis Garcia hit a two-run homer for the Braves, who won for just the fourth time in 15 games.
Martin Prado had three RBIs for Miami, which has dropped 11 of 13.
More from FoxSports
The Marlins scored three runs in the top of the eighth to tie it 8-all. But Perez delivered the winning hit against Bryan Morris (3-3) after Daniel Castro reached on an infield single, advanced to second on an error and moved over on a bunt.
Braves reliever Andrew McKirahan (1-0) got the win despite giving up three hits, three runs, one walk and striking out one in the eighth inning.
Arodys Vizcaino earned his first career save after facing four batters in the ninth.
Atlanta starter Matt Wisler surrendered nine hits, five runs and three walks and struck out three in 5 1-3 innings. The rookie has a 7.04 ERA over his last four starts.
The Braves led 8-5 in the fifth against Adam Conley after Joey Terdoslavich's RBI triple and Garcia's fifth homer.
Marlins starter Jose Urena left with a bruised left knee after two innings. He was injured when Daniel Castro lined a single off his leg. Urena gave up five runs on six hits.
The Marlins tied it 8-8 in the eighth on Dee Gordon's two-run single and Christian Yelich's RBI grounder.
MARLINS: Manager Dan Jennings said RF Giancarlo Stanton, on the disabled list since June 28 with a left wrist fracture, is swinging in the cage, running and throwing. Jennings added it's still too early to project a timetable for Stanton's return. ... Jennings said RHP Jarred Cosart, who's sidelined with vertigo, will soon begin a throwing program at the team's minor league facility in Jupiter, Florida. Jennings hopes that Cosart will return before the end of August. ... C J.T. Realmuto has a sore hand and was out of the lineup for the second straight game.
BRAVES: SS Andrelton Simmons missed his fifth straight game with a bruised right thumb. Manager Fredi Gonzalez said Simmons can field and throw but still hasn't been allowed to swing a bat.
MARLINS: RHP Jose Fernandez (4-0) is 3-1 with a 0.93 ERA in four career starts against Atlanta. Right-handed batters are hitting .187 against him in six starts this year.
BRAVES: RHP Julio Teheran (7-6) is 5-1 with a 2.54 ERA in 10 career starts against the Marlins.