Zach Thompson pitched five scoreless inning and earned his first major league win, leading the Miami Marlins to a 4-2 victory over the Atlanta Braves on Saturday.

Adam Duvall and Lewin Díaz hit solo homers for Miami, which won its third straight overall and second straight over the Braves to claim its first home series against Atlanta since Oct. 1, 2017.

More Images
Miami Marlins' Zach Thompson delivers a pitch during the first inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Zach Thompson pitched five scoreless inning and earned his first major league win, leading the Miami Marlins to a 4-2 victory over the Atlanta Braves on Saturday.

Atlanta Braves shortstop Dansby Swanson (7) runs down Miami Marlins' Jesus Aguilar (24) during a double play in the third inning of a baseball game, Saturday, June 12, 2021, in Miami. Marlins' Corey Dickerson was out at first. (AP PhotoWilfredo Lee)

Thompson (1-1) started the planned bullpen game and limited Atlanta to three hits, striking out six in a longer-than-expected outing. The 27-year-old right-hander pumped his fist after his outing-ending strike out of Ronald Acuña in the fifth.

Atlanta Braves shortstop Dansby Swanson, left, attempts to tag Miami Marlins' Adam Duvall, front right, who steals second base during the ninth inning of a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

The Marlins scored in the first without a hit. Jazz Chisholm walked, advanced two bases on a groundout and wild pitch and raced home on Jésus Aguilar’s sacrifice fly.

Miami Marlins' Jon Berti, foreground, and Jazz Chisholm Jr. celebrate after they defeated the Atlanta Braves in a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Anthony Bender relieved Thompson and pitched 1 2/3 scoreless innings, and Richard Bleier got the final out in the seventh. Dylan Floro closed it with a perfect ninth for his second save in five chances.

Atlanta Braves shortstop Dansby Swanson, right, throws to first to attempt a double play as Miami Marlins' Jesus Aguilar, left, is out at second during the eighth inning of a baseball game, Saturday, June 12, 2021, in Miami. Marlins' Adam Duvall was safe at first. (AP PhotoWilfredo Lee)

TRAINER’S ROOM:

Miami Marlins' Corey Dickerson (23) celebrates as Jazz Chisholm Jr. slides into home to score on a sacrifice fly ball hit by Jesus Aguilar during the first inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

More AP baseball: https://apnews.com/hub/MLB and https://twitter.com/AP_Sports

Atlanta Braves center fielder Ender Inciarte catches a sacrifice fly hit by Miami Marlins' Jesus Aguilar that scored Jazz Chisholm Jr. during the first inning of a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Atlanta Braves center fielder Ender Inciarte catches a sacrifice fly hit by Miami Marlins' Jesus Aguilar that scored Jazz Chisholm Jr. during the first inning of a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Miami Marlins' Adam Duvall rounds second base after hitting a home run during the fourth inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Miami Marlins' Adam Duvall rounds second base after hitting a home run during the fourth inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Atlanta Braves' Max Fried delivers a pitch during the first inning of a baseball game against the Miami Marlins, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Atlanta Braves' Max Fried delivers a pitch during the first inning of a baseball game against the Miami Marlins, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Díaz hit his first major league homer, a pinch-hit shot to start the fifth inning.

Miami Marlins' Zach Thompson delivers a pitch during the first inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Miami Marlins' Zach Thompson delivers a pitch during the first inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Thompson (1-1) started the planned bullpen game and limited Atlanta to three hits, striking out six in a longer-than-expected outing. The 27-year-old right-hander pumped his fist after his outing-ending strike out of Ronald Acuña in the fifth.

In addition to the win, Thompson got his first major league hit when he singled in the second.

Freddie Freeman hit his 15th homer, a two-run shot against reliever Anthony Bass in the eighth, as the Braves lost their fourth straight.

Atlanta Braves shortstop Dansby Swanson (7) runs down Miami Marlins' Jesus Aguilar (24) during a double play in the third inning of a baseball game, Saturday, June 12, 2021, in Miami. Marlins' Corey Dickerson was out at first. (AP PhotoWilfredo Lee)

Atlanta Braves shortstop Dansby Swanson (7) runs down Miami Marlins' Jesus Aguilar (24) during a double play in the third inning of a baseball game, Saturday, June 12, 2021, in Miami. Marlins' Corey Dickerson was out at first. (AP PhotoWilfredo Lee)

The Marlins scored in the first without a hit. Jazz Chisholm walked, advanced two bases on a groundout and wild pitch and raced home on Jésus Aguilar’s sacrifice fly.

Duvall’s leadoff homer in the fourth put Miami ahead 2-0. Duvall drove Atlanta starter Max Fried’s 0-2 pitch into the walkway above left center for his 12th home run of the season.

Fried (3-4) was lifted after six innings. The left-hander allowed three runs, five hits, struck out four and walked two. He remains winless against Miami in eight career starts.

Atlanta Braves shortstop Dansby Swanson, left, attempts to tag Miami Marlins' Adam Duvall, front right, who steals second base during the ninth inning of a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Atlanta Braves shortstop Dansby Swanson, left, attempts to tag Miami Marlins' Adam Duvall, front right, who steals second base during the ninth inning of a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Anthony Bender relieved Thompson and pitched 1 2/3 scoreless innings, and Richard Bleier got the final out in the seventh. Dylan Floro closed it with a perfect ninth for his second save in five chances.

Aguilar’s RBI single in the eighth gave Miami its final margin.

Acuña singled before Freeman’s homer and has reached base 21 consecutive games.

Miami Marlins' Jon Berti, foreground, and Jazz Chisholm Jr. celebrate after they defeated the Atlanta Braves in a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Miami Marlins' Jon Berti, foreground, and Jazz Chisholm Jr. celebrate after they defeated the Atlanta Braves in a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

TRAINER’S ROOM:

Marlins: LHP Trevor Rogers (undisclosed injury) was placed on the 10-day injured list and is expected to be recalled before his next scheduled start on Tuesday.

UP NEXT:

LHP Drew Smily (2-3, 5.82) will start the series finale for the Braves on Sunday, while the Marlins will go with RHP Pablo López (2-3, 2.76).

Atlanta Braves shortstop Dansby Swanson, right, throws to first to attempt a double play as Miami Marlins' Jesus Aguilar, left, is out at second during the eighth inning of a baseball game, Saturday, June 12, 2021, in Miami. Marlins' Adam Duvall was safe at first. (AP PhotoWilfredo Lee)

Atlanta Braves shortstop Dansby Swanson, right, throws to first to attempt a double play as Miami Marlins' Jesus Aguilar, left, is out at second during the eighth inning of a baseball game, Saturday, June 12, 2021, in Miami. Marlins' Adam Duvall was safe at first. (AP PhotoWilfredo Lee)

More AP baseball: https://apnews.com/hub/MLB and https://twitter.com/AP_Sports

Miami Marlins' Corey Dickerson (23) celebrates as Jazz Chisholm Jr. slides into home to score on a sacrifice fly ball hit by Jesus Aguilar during the first inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Miami Marlins' Corey Dickerson (23) celebrates as Jazz Chisholm Jr. slides into home to score on a sacrifice fly ball hit by Jesus Aguilar during the first inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Atlanta Braves center fielder Ender Inciarte catches a sacrifice fly hit by Miami Marlins' Jesus Aguilar that scored Jazz Chisholm Jr. during the first inning of a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Atlanta Braves center fielder Ender Inciarte catches a sacrifice fly hit by Miami Marlins' Jesus Aguilar that scored Jazz Chisholm Jr. during the first inning of a baseball game, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Miami Marlins' Adam Duvall rounds second base after hitting a home run during the fourth inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Miami Marlins' Adam Duvall rounds second base after hitting a home run during the fourth inning of a baseball game against the Atlanta Braves, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Atlanta Braves' Max Fried delivers a pitch during the first inning of a baseball game against the Miami Marlins, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)

Atlanta Braves' Max Fried delivers a pitch during the first inning of a baseball game against the Miami Marlins, Saturday, June 12, 2021, in Miami. (AP PhotoWilfredo Lee)