CHICAGO – Thairo Estrada hit a three-run homer in the ninth inning to lift the San Francisco Giants to a 7-6 victory over the Cubs on a steamy Monday (Tuesday in Manila).

Heliot Ramos and Patrick Bailey also homered for the Giants, who won their second consecutive game after erasing a 6-3 deficit in the final two innings.

Ian Happ and Michael Busch hit home runs for the Cubs, who have dropped four of their last five.

Thairo Estrada of San Francisco Giants celebrates after hitting his three-run home run during the ninth inning of a baseball game against the Chicago Cubs, June 17, 2024, in Chicago. AP PHOTO

The Giants got one run back in the eighth on Bailey’s solo shot off reliever Mark Leiter Jr., then took the lead for good off Héctor Neris (6-2) in the ninth when Estrada sent the first pitch he saw into left field. stands.

With one out, Jorge Soler reached base after catcher interference. Mike Yastrzemski followed with a walk for Estrada’s home run.

Camilo Doval scored the ninth for his thirteenth save in 15 tries. Reliever Erik Miller (2-2) won despite allowing Happ’s three-run homer in the seventh that put the Cubs ahead. Happ nearly drove Miller’s 2-2 pitch to Waveland Avenue in left field. The ball passed the stands but landed a few yards before leaving the park.

Soler walked with two outs in the fourth and came home two pitches later on Mike Yastrzemski’s triple, giving the Giants their first lead of the game. It held until the sixth, when Busch hit a booming two-out drive off Randy Rodríguez to center to give the Cubs a 2-1 lead.

Chicago’s Javier Assad allowed five hits, walked two and struck out seven in the first five innings. Giants righthander Jordan Hicks also hit five, striking out four while walking and allowing four hits.

San Francisco manager Bob Melvin was ejected in the bottom of the eighth inning by home plate umpire Manny Gonzalez.

It was 93 degrees on the first roll, three degrees lower than the record high for the date that was matched earlier in the day.

Cubs: DH Mike Tauchman left the game in the bottom of the third on a single. The club said he was suffering from left groin tightness.

The series continues Tuesday night when RHP Logan Webb (6-5, 3.02 ERA) takes on Chicago LHP Justin Steele (0-3, 3.22).