SAN FRANCISCO (AP) — Brett Wisely hit a two-run homer with none out in the ninth inning after Jason Heyward tied it in the top half on a sacrifice fly, and the San Francisco Giants beat the Los Angeles Dodgers 5-3 on Friday night.

Camilo Doval (3-1) wound up with the victory after blowing just his third save opportunity all season.

Blake Treinen (2-2) entered for the ninth and immediately walked Luis Matos, who was replaced by pinch-runner Tyler Fitzgerald.

Matt Chapman had put the Giants ahead with a two-run homer in the sixth inning shortly after the Giants announced the death of Hall of Famer Orlando Cepeda and paused for a moment of silence.

Logan Webb struck out six over seven innings, allowing two runs on five hits. Tyler Rogers pitched the eighth before Doval entered and gave up a leadoff triple to Andy Pages ahead of Heyward’s sacrifice fly.

Gavin Lux broke up a scoreless tie with an RBI double in the fifth off Webb and Will Smith singled in a run later that inning, but the Dodgers had their four-game winning streak snapped.

Matos homered in the bottom half of the fifth for the Giants, who just took three of four from the Cubs.

Michael Conforto hit a two-out triple in the second for San Francisco but Miguel Rojas then stopped a hard line drive by Matos to save a run.

The Dodgers have won 11 of 14 against the Giants dating to September and five of seven this season.

Los Angeles hasn’t dropped a road series in San Francisco since going 2-8 in 2016 and is 36-24 since then at Oracle Park.

TRAINER’S ROOM

Dodgers: 3B Max Muncy, nursing an oblique strain, is with the team and took swings off a tee and fielded groundballs. The next step will be taking live batting practice, then a simulated game before Muncy begins a rehab assignment, according to manager Dave Roberts. … LHP Clayton Kershaw will resume playing catch again next week after the club announced Monday he had been shut down because of lingering soreness as he recovers from surgery in his pitching shoulder.

Giants: LHP Blake Snell struck out six and allowed three runs on four hits over three innings for Triple-A Sacramento at Las Vegas as the reigning NL Cy Young Award winner works back from a strained left groin. … RHP Alex Cobb (shoulder) threw a bullpen session Friday and is set to pitch in a rehab outing at Class-A San Jose on Sunday. … LHP Kyle Harrison tested his sprained right ankle with a bullpen session as well.

ROSTER MOVES

INF/OF LaMonte Wade Jr. returned from the injured list and started at first base, going X for X and INF/OF Tyler Fitzgerald was recalled from Triple-A Sacramento as INFs Thairo Estrada (sprained left wrist) and Wilmer Flores (tendonitis in his right knee) were placed on the 10-day IL.

UP NEXT

RHP Tyler Glasnow (8-5, 2.88 ERA) is scheduled to start for the Dodgers on Saturday, while the Giants hadn’t named a starter.

___

AP MLB: https://apnews.com/hub/mlb