Paul Goldschmidt delivered an RBI ground out in the 10th inning as the visiting St. Louis Cardinals capitalized on a gift five-run seventh inning and then held on for their first win of the season in a 6-5 victory Saturday over the Los Angeles Dodgers.

Dodgers right-hander Yoshinobu Yamamoto, who was shelled in his MLB debut in Seoul, went five scoreless innings in his first game in Los Angeles, pitching his final inning after the rain delay. It was the first pause for weather at Dodger Stadium since April of 2017.

Yamamoto, who signed a 12-year, $325 million contract in the offseason after pitching seven seasons with the Orix Buffaloes of the Pacific League, gave up five runs and lasted only one inning against the San Diego Padres on March 21.

He bounced back with the scoreless performance in which he allowed just two hits and struck out five.

"I was able to calm down and recover (from my previous outing)," the three-time PL MVP said, according to Kyodo News. "I'm gradually starting to feel good about my pitches, so I went to the mound with confidence. I managed to fine-tune my mechanics."

Designated hitter Shohei Ohtani went 1 for 5 with a walk and a run scored.

The Dodgers nearly won the game in the ninth inning before leaving the game-winning run at third base when Teoscar Hernandez struck out.

Trailing 5-3 in the ninth, the Dodgers started their rally with a one-out home run from Mookie Betts off Ryan Helsley to cut their deficit to 5-4. Freddie Freeman and Will Smith singled before Max Muncy tied it 5-5 on a two-out bloop single to center field.

Betts has a home run in each of the past four games.

Kyle Hurt (0-1) pitched 2⅔ innings for the Dodgers before giving up the run in the 10th inning. Helsley (1-0) gave up two runs on four hits in the ninth inning but still earned the win and Giovanny Gallegos pitched the 10th for his first save.

Lance Lynn pitched four scoreless innings while on the mound for the Cardinals for the first time since 2017 and gave up four hits with five strikeouts.

The Cardinals took advantage of a walk, a hit batter, catcher's interference and a balk in the seventh against Dodgers reliever Joe Kelly to take a 5-2 lead.

Smith had a pair of RBI singles for the Dodgers and Freeman added his own RBI single.