Starlin Castro hit a go-ahead, two-run single off closer Hector Neris in the ninth inning and the Washington Nationals rallied three times to beat the Philadelphia Phillies 13-12 Wednesday.

It was the first game in major league history that featured a grand slam and three-run homer for each team.

More Images
Philadelphia Phillies' Andrew McCutchen (22) celebrates at home plate with Travis Jankowski (9) after hitting a grand slam home run during the fifth inning of a baseball game against the Washington Nationals, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Starlin Castro hit a go-ahead, two-run single off closer Hector Neris in the ninth inning and the Washington Nationals rallied three times to beat the Philadelphia Phillies 13-12 Wednesday.

Washington Nationals' Josh Bell runs the bases after hitting a grand slam home run during the sixth inning of a baseball game against the Philadelphia Phillies, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Kyle Schwarber hit Washington’s three-run homer and Travis Jankowski had one for Philadelphia. Bryce Harper also connected for the Phillies.

Philadelphia Phillies' Andrew McCutchen celebrates in the dugout after hitting a grand slam home run during the fifth inning of a baseball game against the Washington Nationals, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

After Ronald Torreyes gave the Phillies a 12-11 lead in the bottom of the eighth with an RBI single, Neris allowed consecutive singles to Bell and Josh Harrison to start the ninth and Alex Avila's sacrifice moved the runners.

Washington Nationals' Josh Bell (19) celebrates with Kyle Schwarber (12) after hitting a grand slam home run during the sixth inning of a baseball game against the Philadelphia Phillies, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

The Phillies jumped on Nationals starter Erick Fedde, who had thrown 21 consecutive scoreless innings before Jankowski crushed his first homer since Sept. 26, 2018, in the second.

Washington Nationals' Starlin Castro (13) is safe at third before Philadelphia Phillies third baseman Alec Bohm (28) can make the tag during the sixth inning of a baseball game, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Schwarber, who struck out his first two at-bats, smashed an 0-1 pitch off Bradley the opposite way for his 19th homer and 10th in 12 games.

Philadelphia Phillies second baseman Brad Miller, right, and center fielder Odubel Herrera, left, miss a ball hit by Washington Nationals' Victor Robles during the fifth inning of a baseball game, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Jankowski was 3 for 4 with a walk, falling a triple short of the cycle. The long-haired lefty circled the bases in the second and put on the Phillies straw hat worn in the dugout by players who hit homers.

Josh Bell answered Andrew McCutchen’s slam with one of his own as the Nationals overcame deficits of 5-0, 9-5 and 12-11.

Philadelphia Phillies' Andrew McCutchen (22) celebrates at home plate with Travis Jankowski (9) after hitting a grand slam home run during the fifth inning of a baseball game against the Washington Nationals, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Philadelphia Phillies' Andrew McCutchen (22) celebrates at home plate with Travis Jankowski (9) after hitting a grand slam home run during the fifth inning of a baseball game against the Washington Nationals, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Kyle Schwarber hit Washington’s three-run homer and Travis Jankowski had one for Philadelphia. Bryce Harper also connected for the Phillies.

Both clubs let their bats do the talking after Nationals general manager Mike Rizzo called Phillies manager Joe Girardi a “con artist” for asking umpires to check Max Scherzer for illegal substances during Tuesday night’s game.

Phillies President Dave Dombrowski defended his manager, saying Rizzo’s comment was “totally improper.”

Washington Nationals' Josh Bell runs the bases after hitting a grand slam home run during the sixth inning of a baseball game against the Philadelphia Phillies, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Washington Nationals' Josh Bell runs the bases after hitting a grand slam home run during the sixth inning of a baseball game against the Philadelphia Phillies, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

After Ronald Torreyes gave the Phillies a 12-11 lead in the bottom of the eighth with an RBI single, Neris allowed consecutive singles to Bell and Josh Harrison to start the ninth and Alex Avila's sacrifice moved the runners.

Castro then lined a single to center to put Washington ahead to stay as Neris (1-4) blew his fifth save in 15 tries.

Paolo Espino pitched the ninth for his first career save after Tanner Rainey (1-2) got the last two outs in the eighth.

Philadelphia Phillies' Andrew McCutchen celebrates in the dugout after hitting a grand slam home run during the fifth inning of a baseball game against the Washington Nationals, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Philadelphia Phillies' Andrew McCutchen celebrates in the dugout after hitting a grand slam home run during the fifth inning of a baseball game against the Washington Nationals, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

The Phillies jumped on Nationals starter Erick Fedde, who had thrown 21 consecutive scoreless innings before Jankowski crushed his first homer since Sept. 26, 2018, in the second.

But Philadelphia’s Vince Velasquez, who retired the first 10 batters before Trea Turner lined a double with one out in the fourth, couldn’t get past the fifth.

The Nationals scored five off Velasquez and Archie Bradley in the fifth and six more off Sam Coonrod and David Hale in the sixth..

Washington Nationals' Josh Bell (19) celebrates with Kyle Schwarber (12) after hitting a grand slam home run during the sixth inning of a baseball game against the Philadelphia Phillies, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Washington Nationals' Josh Bell (19) celebrates with Kyle Schwarber (12) after hitting a grand slam home run during the sixth inning of a baseball game against the Philadelphia Phillies, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Schwarber, who struck out his first two at-bats, smashed an 0-1 pitch off Bradley the opposite way for his 19th homer and 10th in 12 games.

Coonrod walked the bases loaded and struck out two batters before giving way to Hale. Trea Turner hit a two-run single to cut it to 9-7. After Juan Soto walked to load the bases again, Bell blasted one the opposite way to left-center for an 11-9 lead.

WEAR IT

Washington Nationals' Starlin Castro (13) is safe at third before Philadelphia Phillies third baseman Alec Bohm (28) can make the tag during the sixth inning of a baseball game, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Washington Nationals' Starlin Castro (13) is safe at third before Philadelphia Phillies third baseman Alec Bohm (28) can make the tag during the sixth inning of a baseball game, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Jankowski was 3 for 4 with a walk, falling a triple short of the cycle. The long-haired lefty circled the bases in the second and put on the Phillies straw hat worn in the dugout by players who hit homers.

NOBODY ON

All 10 of Harper’s homers have been solo shots, tying the team record for most home runs with nobody on base to start the season. Fred Luderus previously did it in 1914. Felipe Alou’s 17 solo homers to start the season in 1966 is a major league record.

Philadelphia Phillies second baseman Brad Miller, right, and center fielder Odubel Herrera, left, miss a ball hit by Washington Nationals' Victor Robles during the fifth inning of a baseball game, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

Philadelphia Phillies second baseman Brad Miller, right, and center fielder Odubel Herrera, left, miss a ball hit by Washington Nationals' Victor Robles during the fifth inning of a baseball game, Wednesday, June 23, 2021, in Philadelphia. (AP PhotoLaurence Kesterson)

STARTING TIME

Nationals: Fedde gave up five runs and six hits in four innings.

Phillies: Velasquez yielded four runs and three hits in 4 1/3 innings.

TRAINER’S ROOM

Phillies: McCutchen wasn’t in the starting lineup because of knee soreness but entered as a pinch-hitter in the fifth.

UP NEXT

Nationals: RHP Joe Ross (3-7, 4.54 ERA) starts the opener of a four-game series at Miami on Thursday night.

Phillies: After a day off, RHP Aaron Nola (5-4, 4.22) pitches the opener of a doubleheader at the New York Mets on Friday. The team hasn’t announced who will start the second game.

More AP MLB coverage: https://apnews.com/hub/MLB and https://twitter.com/AP_Sports