Alec Mills and three relievers combined on a shutout and the Chicago Cubs bounced back from two lopsided losses to beat the Miami Marlins 2-0 Sunday and avoid a sweep.

Outscored 21-3 in the previous two days at Wrigley Field, the Cubs squeezed out the win despite managing just four hits. They also extended their season-high streak of scoring no more than three runs to eight games.

More Images
Chicago Cubs' Patrick Wisdom, left, smiles as he celebrates with teammates after scoring on a one-run single by Joc Pederson during the fifth inning of a baseball game against the Miami Marlins in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Alec Mills and three relievers combined on a shutout and the Chicago Cubs bounced back from two lopsided losses to beat the Miami Marlins 2-0 Sunday and avoid a sweep.

Fans make a beer cup snake during the fifth inning of a baseball game between the Miami Marlins and the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Marlins rookie Zach Thompson (1-2) took the hard-luck loss after holding the held the Cubs to one unearned run over four no-hit innings.

Miami Marlins manager Don Mattingly, second from right, talks to his team during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Mills worked around six hits over five innings. The right-hander struck out three without a walk.

Chicago Cubs' Patrick Wisdom watches after hitting a single during the fifth inning of a baseball game against the Miami Marlins in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Thompson struck out seven and walked three in his third major league start. The 27-year-old right-hander threw 73 pitches, after beating Atlanta for his first career win eight days earlier.

Miami Marlins manager Don Mattingly, center, talks with relief pitcher Anthony Bender, left, and catcher Jorge Alfaro during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

The Cubs selected LHP Kyle Ryan from Triple-A Iowa and optioned RHP Cory Abbott to Iowa. They also designated RHP Robert Stock for assignment.

Miami Marlins relief pitcher Ross Detwiler, left, talks with catcher Jorge Alfaro during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

UP NEXT

Miami Marlins starting pitcher Zach Thompson throws against the Chicago Cubs during the first inning of a baseball game in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

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

But Chicago came out on top thanks to a solid start by Mills (3-1) and a perfect performance by the bullpen.

Chicago Cubs' Patrick Wisdom, left, smiles as he celebrates with teammates after scoring on a one-run single by Joc Pederson during the fifth inning of a baseball game against the Miami Marlins in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Chicago Cubs' Patrick Wisdom, left, smiles as he celebrates with teammates after scoring on a one-run single by Joc Pederson during the fifth inning of a baseball game against the Miami Marlins in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Marlins rookie Zach Thompson (1-2) took the hard-luck loss after holding the held the Cubs to one unearned run over four no-hit innings.

Pinch-hitter Patrick Wisdom opened the fifth against Miami reliever Ross Detweiler by singling on the 15th pitch of the at-bat, hanging in after falling behind 0-2 and hitting nine foul balls to give himself more chances.

Wisdom later scored on Joc Pederson's single to make it 2-0. The Cubs came away with the win after dropping five of six to fall into a first-place tie with Milwaukee in the NL Central.

Fans make a beer cup snake during the fifth inning of a baseball game between the Miami Marlins and the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Fans make a beer cup snake during the fifth inning of a baseball game between the Miami Marlins and the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Mills worked around six hits over five innings. The right-hander struck out three without a walk.

The bullpen shut down Miami the rest of the way, with Ryan Tepera throwing two innings and Andrew Chafin working the eighth before Craig Kimbrel came on in the ninth for his 20th save in 22 chances.

It was just what the Cubs needed after getting knocked around for 10 or more runs in back-to-back home games for the first time since August 2015 against Detroit.

Miami Marlins manager Don Mattingly, second from right, talks to his team during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Miami Marlins manager Don Mattingly, second from right, talks to his team during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Thompson struck out seven and walked three in his third major league start. The 27-year-old right-hander threw 73 pitches, after beating Atlanta for his first career win eight days earlier.

Adam Duvall went 0 for 4 after joining Derrek Lee in 2002 and Giancarlo Stanton in 2016 as the only Marlins with back-to-back multi-homer games. Duvall hit a grand slam and two-run shot Friday and two more two-run drives on Saturday.

TRANSACTIONS

Chicago Cubs' Patrick Wisdom watches after hitting a single during the fifth inning of a baseball game against the Miami Marlins in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Chicago Cubs' Patrick Wisdom watches after hitting a single during the fifth inning of a baseball game against the Miami Marlins in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

The Cubs selected LHP Kyle Ryan from Triple-A Iowa and optioned RHP Cory Abbott to Iowa. They also designated RHP Robert Stock for assignment.

TRAINER'S ROOM

Cubs: Manager David Ross acknowledged INF Matt Duffy's recovery from a strained lower back is taking longer than the Cubs expected. Duffy has not played since May 22. “It's something that's I think more of a chronic injury that we want to make sure that we take care of before we get him back,” Ross said. ... The Cubs hope to have 2B Nico Hoerner (strained left hamstring) start a rehab assignment in the next week to 10 days. ... LHP Justin Steele (right hamstring strain), sidelined since May 20, threw a bullpen session on Sunday.

Miami Marlins manager Don Mattingly, center, talks with relief pitcher Anthony Bender, left, and catcher Jorge Alfaro during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Miami Marlins manager Don Mattingly, center, talks with relief pitcher Anthony Bender, left, and catcher Jorge Alfaro during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

UP NEXT

Marlins: Miami opens a two-game series against Toronto in Buffalo on Tuesday, with RHP Sandy Alcantara (4-6, 3.09 ERA) starting for the Marlins and RHP Ross Stripling (2-4, 4.64) pitching for the Blue Jays. Alcantara lost 1-0 at St. Louis last week, when Paul Goldschmidt reached on an error by shortstop Jazz Chisholm Jr. leading off the ninth and scored on Yadier Molina's one-out single.

Cubs: RHP Adbert Alzolay (4-5, 4.06) returns from a blister on his right middle finger as the Cubs open a two-game series against Cleveland. RHP Aaron Civale (10-2, 3.48), tops in the majors in wins, starts for the Indians.

Miami Marlins relief pitcher Ross Detwiler, left, talks with catcher Jorge Alfaro during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Miami Marlins relief pitcher Ross Detwiler, left, talks with catcher Jorge Alfaro during the fifth inning of a baseball game against the Chicago Cubs in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

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

Miami Marlins starting pitcher Zach Thompson throws against the Chicago Cubs during the first inning of a baseball game in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)

Miami Marlins starting pitcher Zach Thompson throws against the Chicago Cubs during the first inning of a baseball game in Chicago, Sunday, June 20, 2021. (AP PhotoNam Y. Huh)