Mitch Stringer-USA TODAY Sports

Richie Palacios came off the bench to hit two solo home runs on Tuesday, helping Adam Wainwright earn career victory No. 199 in the St. Louis Cardinals' 5-2 win over the host Baltimore Orioles.

Wainwright (4-11), who had been stuck on 198 wins since June 17, allowed two runs on seven hits over five innings. He struck out three and walked three.

The St. Louis veteran bested Baltimore starter John Means, who was making his first appearance since undergoing Tommy John surgery in April 2022. Means (0-1) worked five innings and gave up three runs on four hits, including a pair of solo home runs. He fanned one without issuing a walk.

Gunnar Henderson had two hits and a walk for the Orioles (91-53). Baltimore went 1-for-12 with runners in scoring position and stranded 10 baserunners.

Paul Goldschmidt hit his 24th homer of the season for the Cardinals (64-81), and Ryan Helsley pitched a 1-2-3 ninth for his ninth save.

Means retired the first two batters he faced before Goldschmidt smacked an 0-1 fastball to center to give Cardinals a 1-0 lead.

St. Louis added a run in the second when Willson Contreras singled, advanced to third on a single and a fielder's choice and scored Jordan Walker's sacrifice fly.

In the fourth, Palacios, who entered this game as a pinch runner in the second inning when Nolan Gorman left due to hamstring tightness, homered to right to make it 3-0.

The Orioles got two back in the fifth. Adley Rutschman led off with a walk and went to third on Henderson's single. Anthony Santander lined a single to right to drive in Rutschman, and Henderson scored when Ryan O'Hearn grounded into a force out.

Palacios struck again with one out in the seventh, homering to right off Jorge Lopez. It was his third of the season. The Cardinals weren't done, as Walker walked and later scored on a single by Lars Nootbaar off Cionel Perez to make it 5-2.

Baltimore had runners on first and second with no outs in the bottom of the seventh against Matthew Liberatore but did not score.

More must-reads:

TODAY'S BEST
Do Oilers need more from Connor McDavid to get to Stanley Cup Final?
All-Rookie teams show gems available all over draft
The NBA has not witnessed this much parity in 50 years
Knicks expected to be 'aggressive' in upgrading their roster
Drew Bledsoe offers advice for Patriots rookie QB Drake Maye
2024 AFC revenge games: Brothers, 'Stefon Diggs Bowl' to take center stage
2024 NFC revenge games: Which game should Cowboys, others have circled?
How All-Star Race victory could turn Joey Logano's season around
Xander Schauffele's triumph could open the floodgates for his career
Anderson Silva, Chael Sonnen will finish off their trilogy in a boxing ring
Ranking the five best MLB free-agent signings of offseason
Veteran WR, former first-round pick announces NFL retirement
Oilers advance to West Final again after holding off Canucks in Game 7
Bengals star WR not expected to sign franchise tender before OTAs
Red Sox RHP diagnosed with ligament damage in elbow
Watch: Caitlin Clark shows off range with logo three, but Fever fall short
Former Dolphins receiving leader announces his retirement from NFL
Detroit Lions dominate PFF's top-25 players under 25
Hall of Famer, legendary Raiders offensive lineman dead at 86
Report: Cavs owner 'would never' trade Donovan Mitchell to this team

Want more Cardinals news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.