July 22, 2021 | 2: 34am | Updated July 22, 2021 | 3: 06am

LOS ANGELES — Wilmer Flores hit a gallop-ahead, two-flee homer off closer Kenley Jansen in the ninth inning and the San Francisco Giants rallied past the Los Angeles Dodgers 4-2 on Wednesday evening.

Mike Yastrzemski homered early to relief the Giants discover a two-game lead in the NL West over the defending World Sequence champions. San Francisco has received two of three in a four-game series between the longtime rivals that wraps up Thursday evening.

The Giants had factual four hits sooner than Flores’ drive, which quieted the sellout crowd at Dodger Stadium. Buster Posey delivered a pinch-hit single to birth the ninth, and Flores followed with a two-flee shot to left field that set apart San Francisco in entrance 3-2.

“Wilmer Flores is as hang as anybody over the final two seasons,” Giants supervisor Gabe Kapler said. “That became as soon as his MO in Unusual York. He’s repeatedly been hang and thrived in the perfect moments.”

Wilmer Flores is all smiles after belting the go-ahead two-run homer in the ninth inning of the Giants' 4-2 win over the Dodgers.
Wilmer Flores is all smiles after belting the gallop-ahead two-flee homer in the ninth inning of the Giants’ 4-2 do away with over the Dodgers.
AP

It became as soon as the 11th homer of the season for Flores. Jansen (1-3) fell to 21 for 25 in assign alternatives.

“It’s factual a sinful one,” Jansen said. “I don’t are desirous to overthink it. I work my butt off too laborious to let one 2d love this strive to mess your season up. Ain’t no time to deem it. … I’ve acquired to lift out larger. Salvage those final three outs.”

Victor Gonzalez walked Curt Casali with the bases loaded, making it 4-2.

Tyler Rogers, who took the loss Tuesday after permitting a game-ending homer to pinch-hitter Will Smith, earned his 11th assign by pitching a scoreless ninth.

Rogers and Kapler shared an enthusiastic hug afterward.

“That became as soon as immense to find factual relief accessible and now not must strive to neglect about it any other day,” Rogers said. “Man, it’s factual so frigid to thrill in all the guys in the clubhouse contented for me, and I’m contented for all them. Kapler exhibiting the belief in me became as soon as immense for my self perception.”

Jose Alvarez (3-1) worked a scoreless inning for the do away with.

Dodgers supervisor Dave Roberts became as soon as ejected in the ninth.

Los Angeles starter Julio Urías pitched a gem, permitting factual three hits in seven innings. He struck out 5 and walked one.

Urías gave up Yastrzemski’s residence flee but in some other case silenced the Giants. He became as soon as looking for to become the main 13-game winner in the majors.

Yastrzemski hit his 16th residence flee in the main inning and 2d in two days.

Chris Taylor spoke back with a solo homer of his bear in the backside of the main. Taylor is having an improbable July and has three residence runs in his final two games. He’s hit safely in 14 of the final 17 games.

Cody Bellinger made an swish sliding do away with in heart field for the Dodgers to take Austin Slater of a success in the third.

AJ Pollock hit an RBI double to the factual-field corner off Logan Webb in the fourth to get Bellinger and give Los Angeles a 2-1 lead.

Webb allowed two runs and three hits in 5 innings.