CHICAGO (AP) — P Pinch hitter Dioner Navarro had a game-ending sacrifice fly in the 11th inning, lifting the Chicago Cubs to a 4-3 victory over the Pittsburgh Pirates on Sunday.

Anthony Rizzo sparked the winning rally with a leadoff single. He advanced on Alfonso Soriano’s single and went to third when Pirates catcher Russell Martin threw the ball into center field while trying to pick Rizzo off second.

READ MORE: Jussie Smollett Trial: Lead Detective In Investigation Explains On Witness Stand How Smollett Went From Victim To Suspect

Luis Valbuena was walked intentionally before Navarro’s fly ball to right off Bryan Morris (4-3) gave the Cubs their seventh win in the last 11 games.

Matt Guerrier (3-4) pitched two scoreless innings for his first win with Chicago. He was acquired in the trade that sent Carlos Marmol to the Los Angeles Dodgers on Tuesday.

The Cubs had a 3-2 lead and the Pirates were down to their last strike when Starling Marte drove a 3-2 pitch from closer Kevin Gregg over the wall in center for his ninth homer.

READ MORE: After Fuller Park Fire, Resident Credits The Red Cross For Getting Him And His Dogs Shelter; Says It 'Helped Me A Lot'

It was Gregg’s second blown save in 17 opportunities. He began the inning with consecutive strikeouts against Jordy Mercer and pinch hitter Travis Snider.

Chicago (38-48) improved to 20-18 since it got off to a lackluster start. It has won five of its last seven series.

Pittsburgh (53-34) has dropped three of four to fall into a tie with St. Louis for the NL Central lead and the best record in baseball.

MORE NEWS: Chicago's Top Doctor 'Concerned' About COVID Variant Omicron, CPS To Start Voluntary COVID Testing For Students

(© 2013by STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.)