CINCINNATI (AP) — Nick Senzel hit a sacrifice fly in the 10th inning and the Cincinnati Reds snapped a four-game losing streak Monday night, cooling off the St. Louis Cardinals with a 6-5 victory.

Spencer Steer launched an early two-run homer and scored the winning run for the Reds. Ian Gibaut (4-1) struck out two in a hitless 10th to keep it tied.

“We grinded that one out,” Senzel said. “The goal was to just get it in the air, a groundball was no good there. He (Ryan Helsley) is so hard to hit. He’s one of the best in the game. He just left a pitch a little bit higher up than his previous pitch.”

Paul DeJong homered and drove in four runs for the Cardinals, who had won 11 of 14 since a 10-24 start.

St. Louis had the bases loaded in the ninth and two runners aboard in the 10th, but failed to score.

“We had several opportunities, just couldn’t come up with some big hits,” manager Oliver Marmol said.

Steer began the bottom of the 10th as the automatic runner at second base. He advanced to third on a wild pitch by Helsley (2-3) and scored on Senzel’s deep fly to right field.

“The dirt-ball read by Spencer to get us to third made it tough on the defense,” Reds manager David Bell said. “Then Nick had a good at-bat there. Credit to the bullpen. So many guys came through to win the game.”

Cincinnati jumped out to a 2-0 lead in the first on an RBI double by Matt McLain and an RBI single by Tyler Stephenson.

DeJong hit a three-run homer off rookie left-hander Brandon Williamson in the second. It was DeJong’s fourth homer in six games.

Williamson made his second career appearance after an impressive debut Tuesday at Coors Field when he retired 14 consecutive batters in a no-decision.

In the third, Steer’s two-run homer off left-hander Jordan Montgomery put the Reds back ahead.

“It’s tough to keep the ball in the park here,” Montgomery said. “I tried to keep them on the ground. Tonight was just grindy.”

Montgomery is winless in his past eight appearances.

“His pitch count was kind of up there tonight,” Marmol said. “Not the type of finish with his pitches. Didn’t look as crisp as he has.”

Pinch-hitter Lars Nootbaar tied it 4-all with an RBI double in the fifth.

The Reds took a 5-4 lead in the bottom half on a run-scoring groundout by Wil Myers. St. Louis tied it in the eighth when Nolan Gorman doubled to extend his career-best hitting streak to 12 games and scored on DeJong’s double.