ATLANTA -- When a ball hit by Nick Markakis glanced off Martin Prado's glove and into left field, driving in the go-ahead runs in the eighth inning, the Braves felt a break finally had gone their way.
Markakis hit the tie-breaking, two-run single with two outs and the bases loaded in the eighth and Atlanta beat the Miami Marlins 4-2 on Friday night for a rare home win.
The Braves snapped a four-game losing streak and improved to only 3-20 in home games.
"When that ball went off that glove it was just like wow, it can happen," said Braves interim manager Brian Snitker. "We were wondering."
The Braves began the day tied with Minnesota for the majors' worst record but improved to 4-0 against the Marlins.
Atlanta's Jeff Francoeur had four hits, all singles, and drove in a run.
The liner by Markakis off David Phelps (3-3) was initially ruled an error -- a call Prado wouldn't have disputed.
"That's a ball I have to catch," Prado said. "It's hard for me to explain how I missed that ball."
Markakis said he was just trying to put the ball in play.
"With two strikes I was just looking to protect and put the barrel of the bat on the ball," Markakis said. "Wherever it ends up, it ends up."
Only an overturned call kept the inning alive and made the decisive at-bat by Markakis possible.
The Braves had the bases loaded with one out in the eighth when Tyler Flowers hit a grounder toward the pitcher's mound. Phelps fielded the ball and threw to catcher J.T. Realmuto for a forceout. Realmuto threw to first and first-base umpire Ben May called Flowers out for an apparent inning-ending double play.
The call was overturned following a review, setting up the Markakis at-bat.
Atlanta right-hander Williams Perez allowed two runs on seven hits and one walk in six innings.
The Braves were 0 for 9 with runners in scoring position while trailing 2-0 through four innings. They finally came through when they knocked Adam Conley out of the game with four straight hits in the fifth. Flowers' double to the center-field wall drove in Freeman, who had a one-out single. They finished 5 for 21 with runners in scoring position.
Conley walked only one batter in 4 1/3 innings but he threw a wild pitch and hit three Braves batters with pitches -- Freeman, Flowers and shortstop Erick Aybar. Daniel Castro replaced Aybar in the fifth after a low pitch from Conley hit Aybar's right foot in the fourth. The Braves said Aybar is day to day with a bruised foot and X-rays were negative.
Marlins: OF Giancarlo Stanton (right side soreness) missed his third straight game. He took swings in the batting cage and "felt pretty good," according to manager Don Mattingly. Stanton did not take batting practice with the team on the field. OF Christian Yelich (back spasms) missed his seventh straight start but walked as a pinch-hitter in the seventh.
Braves: RHP Shae Simmons, who missed the 2015 season recovering from Tommy John surgery, had tightness in his triceps after three rehab appearances with Triple-A Gwinnett. He said he felt better Friday. He had hoped to come off the DL for his 2016 debut as early as next week. He now hopes to resume his rehab schedule within a week.
Marlins: LHP Wei-Yin Chen (3-2, 4.61) will make his second start of the season against the Braves on Saturday. He did not receive a decision after allowing two runs in 6 1/3 innings in the Marlins' 6-3 loss to Atlanta on April 15.
Braves: Rookie RHP Aaron Blair will be recalled to start on Saturday. He was 0-3 with a 7.59 ERA in five games before being sent back to Triple-A Gwinnett on May 18.
This story has been corrected to change to Martin Prado instead of Nick Prado.
Rosario's solo HR puts Indians up for good over Royals
Amed Rosario's solo home run in the fourth inning gives the Indians a 4-3 lead as they go on to beat the Royals.
Indians beat Royals in last home game before name change
— The Cleveland Indians won their last home game before becoming the Guardians, beating the Kansas City Royals 8-3 on Monday to close a run that started in 1915 and will continue next season with a new identity.
Votto's 2-HR game helps lead Reds past Pirates
Joey Votto hits a pair of two-run home runs in the Reds' win over the Pirates.
Umpire provides explanation for wild play at end of St. Louis Cardinals-Chicago Cubs game
Umpire Bill Miller explains why a wild sequence during St. Louis' 4-2 victory over the Chicago Cubs sparked confusion, adding another layer of drama to the Cardinals' 16th straight win.
Top five fantasy baseball pickups to win your league championship
Need those extra saves or homers? With one week left to decide the fantasy baseball championship, here are Tristan's last-minute pickups to take advantage of the schedule.
Chicago White Sox pitcher Carlos Rodon to start Wednesday, last opportunity before playoffs to shake arm soreness
White Sox pitcher Carlos Rodon will make his scheduled start Wednesday and try to shake off arm fatigue that caused him to leave his last outing after three innings. It's his last start before playoffs begin.