Isaac Galloway hit a two-run single in the 10th inning, JT Riddle homered and drove in four runs and the Miami Marlins beat the Washington Nationals 7-5 on Saturday night.

Following two singles and a fielder's-choice grounder, the Nationals intentionally walked Riddle to load the bases with two outs in the 10th. Galloway delivered with a hit to center off Koda Glover (0-2).

More Images
Washington Nationals' Juan Soto (22) reacts after striking out in the ninth inning of a baseball game as Miami Marlins catcher J.T. Realmuto (11) heads back to the dugout, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Isaac Galloway hit a two-run single in the 10th inning, JT Riddle homered and drove in four runs and the Miami Marlins beat the Washington Nationals 7-5 on Saturday night.

Miami Marlins catcher Bryan Holaday (28) celebrates with relief pitcher Brett Graves, right, after a baseball game against the Washington Nationals, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Derek Dietrich also homered for Miami, which snapped a six-game skid.

Washington Nationals third baseman Anthony Rendon (6) throws to first to get out Miami Marlins' Austin Dean during the eighth inning of a baseball game, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Steckenrider (4-2) blew the save but finished the ninth to pick up the win. Brett Graves recorded the final three outs for his first career save.

Miami Marlins' Austin Dean runs towards home to score during the fifth inning of a baseball game as Washington Nationals pitcher Jefry Rodriguez (68) watches, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Miami starter Wei-Yin Chen allowed two runs — both on Turner's homer in the third — and five hits in 5 2/3 innings.

Miami Marlins starting pitcher Wei-Yin Chen, of Taiwan, delivers during the first inning of a baseball game against the Washington Nationals, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Marlins: INF/OF Garrett Cooper (right wrist sprain) played for the second straight day for Single-A Jupiter on Saturday. Cooper went 1 for 3 in five innings at first base. ... RHP Kyle Barraclough (low back stiffness) threw a live session on Saturday.

Washington Nationals starting pitcher Jefry Rodriguez delivers during the first inning of a baseball game against the Miami Marlins, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Marlins: Jose Urena (3-12, 4.74) starts while appealing his six-game suspension for intentionally hitting Braves outfielder Ronald Acuna Jr. with a pitch in Thursday's loss at Atlanta.

Washington Nationals' Trea Turner (7) celebrates his two-run home run with Jefry Rodriguez (68) during the third inning of a baseball game against the Miami Marlins, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Washington Nationals' Trea Turner (7) celebrates his two-run home run with Jefry Rodriguez (68) during the third inning of a baseball game against the Miami Marlins, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Both teams scored in the ninth. Riddle's drive into the right-field stands off Nationals reliever Justin Miller put Miami up 5-4. Washington's Adam Eaton tied it with a homer off Drew Steckenrider leading off the bottom of the inning.

Washington Nationals' Juan Soto (22) reacts after striking out in the ninth inning of a baseball game as Miami Marlins catcher J.T. Realmuto (11) heads back to the dugout, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Washington Nationals' Juan Soto (22) reacts after striking out in the ninth inning of a baseball game as Miami Marlins catcher J.T. Realmuto (11) heads back to the dugout, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Derek Dietrich also homered for Miami, which snapped a six-game skid.

Trea Turner homered and drove in three runs for the Nationals, who fell back to .500 and wasted a chance to pick up a game on the first-place Atlanta Braves in the NL East.

Riddle's RBI double in the fifth scored Miami's second run, and he put the Marlins up 4-2 in the sixth with a two-run single.

Miami Marlins catcher Bryan Holaday (28) celebrates with relief pitcher Brett Graves, right, after a baseball game against the Washington Nationals, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Miami Marlins catcher Bryan Holaday (28) celebrates with relief pitcher Brett Graves, right, after a baseball game against the Washington Nationals, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Steckenrider (4-2) blew the save but finished the ninth to pick up the win. Brett Graves recorded the final three outs for his first career save.

With two runners on in the sixth, the Marlins benefited from Nationals second baseman Daniel Murphy's fielding error that loaded the bases with one out. Two batters later, Riddle lined a two-run, two-out single over a leaping Murphy.

Washington rebounded in the seventh with two runs. Video review determined that Tayron Guerrero hit Matt Wieters with a pitch, loading the bases. Guerrero's next offering was a wild pitch, scoring Murphy. Turner's bloop single to center drove in the tying run, but Juan Soto hit into a double play to end the threat.

Washington Nationals third baseman Anthony Rendon (6) throws to first to get out Miami Marlins' Austin Dean during the eighth inning of a baseball game, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Washington Nationals third baseman Anthony Rendon (6) throws to first to get out Miami Marlins' Austin Dean during the eighth inning of a baseball game, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Miami starter Wei-Yin Chen allowed two runs — both on Turner's homer in the third — and five hits in 5 2/3 innings.

The Nationals recalled Jefry Rodriguez from Triple-A Syracuse for Saturday's start while placing Jeremy Hellickson on the disabled list with a cervical nerve impingement. Rodriguez allowed four runs, two earned, in five innings.

TRAINER'S ROOM

Miami Marlins' Austin Dean runs towards home to score during the fifth inning of a baseball game as Washington Nationals pitcher Jefry Rodriguez (68) watches, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Miami Marlins' Austin Dean runs towards home to score during the fifth inning of a baseball game as Washington Nationals pitcher Jefry Rodriguez (68) watches, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Marlins: INF/OF Garrett Cooper (right wrist sprain) played for the second straight day for Single-A Jupiter on Saturday. Cooper went 1 for 3 in five innings at first base. ... RHP Kyle Barraclough (low back stiffness) threw a live session on Saturday.

Nationals: RHP Stephen Strasburg, on the DL retroactive to July 22 with a cervical nerve impingement, threw more than 40 pitches in a bullpen session Saturday. He is expected to make a start somewhere on Tuesday. "We'll talk to him (Sunday)," manager Dave Martinez said. "We don't know if it's Tuesday here, or Tuesday in a rehab stint." ... Reliever Kelvin Herrera (right rotator cuff impingement) tossed 15 pitches in a simulated game earlier Saturday.

UP NEXT

Miami Marlins starting pitcher Wei-Yin Chen, of Taiwan, delivers during the first inning of a baseball game against the Washington Nationals, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Miami Marlins starting pitcher Wei-Yin Chen, of Taiwan, delivers during the first inning of a baseball game against the Washington Nationals, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Marlins: Jose Urena (3-12, 4.74) starts while appealing his six-game suspension for intentionally hitting Braves outfielder Ronald Acuna Jr. with a pitch in Thursday's loss at Atlanta.

Nationals: LHP Gio Gonzalez (7-9, 4.12) has a 2.25 ERA in two starts against Miami this season.

More AP baseball: https://apnews.com/tag/MLB and https://twitter.com/AP_Sports

Washington Nationals starting pitcher Jefry Rodriguez delivers during the first inning of a baseball game against the Miami Marlins, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Washington Nationals starting pitcher Jefry Rodriguez delivers during the first inning of a baseball game against the Miami Marlins, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Washington Nationals' Trea Turner (7) celebrates his two-run home run with Jefry Rodriguez (68) during the third inning of a baseball game against the Miami Marlins, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)

Washington Nationals' Trea Turner (7) celebrates his two-run home run with Jefry Rodriguez (68) during the third inning of a baseball game against the Miami Marlins, Saturday, Aug. 18, 2018, in Washington. (AP PhotoNick Wass)