Brad Mills-USA TODAY Sports

Andre Pallante pitched eight shutout innings and Corey Dickerson smashed a three-run home run as the visiting St. Louis Cardinals beat the Washington Nationals 5-0 on Sunday afternoon.

Pallante was in line for a complete game before Tres Barrera led off the ninth with an infield single and Lane Thomas followed with a double.

Ryan Helsley completed the combined five-hitter. He inherited Barrera and Thomas on second and third with no outs in the ninth before striking out Cesar Hernandez and Juan Soto. The game ended on Josh Bell's lineout to center field.

Pallante (4-4), a rookie right-hander, pitched a career-high eight innings. He struck out a career-best eight batters while issuing just one walk among his 96 pitches.

Dickerson finished 3-for-4, nearly collecting half of the Cardinals' seven hits, though the team stranded eight runners on base. Paul DeJong also homered for St. Louis, which has won three of its last four games and completed a 4-4 road trip coming out of the All-Star break.

Nationals starter Josiah Gray (7-7) lasted five innings, giving up four runs on five hits. He walked two but extended his string of going at least five innings to 10 games.

Until the ninth, Washington's three singles off Pallante came from Nelson Cruz, Yadiel Hernandez and Barrera. The loss halted what had been a positive stretch for the Nationals, who won four of their previous six games coming into Sunday. They were shut out for the first time since July 5 at Philadelphia.

The Cardinals opened the scoring on Dylan Carlson's groundout in the third inning. That drove in Dickerson, who led off the inning with a double.

Dickerson's fourth homer of the season with two outs in the fourth inning stretched the Cardinals' lead to 4-0.

DeJong, who was promoted from Triple-A Memphis on Saturday, homered for the second day in a row. His sixth-inning blast came off reliever Jordan Weems.

More must-reads:

TODAY'S BEST
Kings make huge decision on head coach Mike Brown
Oilers beat Stars to take 3-2 lead in WCF
Orioles lose two starting pitchers to season-ending surgeries
Yankees' Aaron Judge, Juan Soto make MLB history with impressive offensive numbers
Bills give Olympic gold medalist chance in NFL
Caitlin Clark frustrated by physical WNBA play: 'I feel like I'm getting hammered'
An epic temper tantrum highlighted Day 6 of the French Open
Pistons parting ways with GM after hiring new head of ops
Broncos' Sean Payton shares promising Bo Nix update amid competition
Celtics HC Joe Mazzulla blasts media for Jayson Tatum, Jaylen Brown coverage
Mike Tyson-Jake Paul fight temporarily postponed
Suns fill out Mike Budenholzer's coaching staff
Timberwolves boycotted TNT in support of criticized bigs
Watch: Oilers offense responds after big hit on Corey Perry
Seahawks WR doesn’t hold back on praise for QB Sam Howell
Report: Cowboys quietly 'all in' on Dak Prescott decision
Diamondbacks ace heading to injured list with hamstring strain
Golden Knights, key winger have mutual interest but face financial crunch
Pelicans to defer Lakers' first-rounder to 2025
Former top-10 WR pick speaks on retirement regret, comeback try