Rookie Luis García hit a two-run homer in the 10th inning and the Washington Nationals beat the AL East-leading Tampa Bay Rays 4-2 on Wednesday.

With Carter Kieboom on second base to start extra innings, the 20-year-old García hit a leadoff drive on the first pitch from Nick Anderson (1-1).

Brandon Lowe got the Rays even at 2 when he hit a solo homer off Daniel Hudson (2-2) on a 2-2 pitch with two outs in the ninth.

Washington Nationals second baseman Luis Garcia (62) makes the catch on a pop out by Tampa Bay Rays' Willy Adames during the fourth inning of a baseball game Wednesday, Sept. 16, 2020, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Washington Nationals second baseman Luis Garcia (62) makes the catch on a pop out by Tampa Bay Rays' Willy Adames during the fourth inning of a baseball game Wednesday, Sept. 16, 2020, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Kyle McGowin struck out three in the 10th to get his first save.

Tampa Bay completed a stretch of eight consecutive games against last-place teams at 3-5.

Asdrúbal Cabrera homered and Austin Voth allowed one run and four hits over five innings for the Nationals.

Tampa Bay Rays' Randy Arozarena races home to score on an RBI double by Nate Lowe off Washington Nationals' Austin Voth during the first inning of a baseball game Wednesday, Sept. 16, 2020, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Tampa Bay Rays' Randy Arozarena races home to score on an RBI double by Nate Lowe off Washington Nationals' Austin Voth during the first inning of a baseball game Wednesday, Sept. 16, 2020, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Juan Soto drew a one-out walk from reliever Oliver Drake in the sixth and scored on Cabrera’s homer that put Washington ahead 2-1.

Drake was making his first appearance since Aug. 8 after being sidelined by right biceps tendinitis.

Nate Lowe had an RBI double in the first. He has eight RBIs over his last five games.

Washington Nationals' Luis Garcia (62) and Asdrubal Cabrera (13) celebrate after the team defeated the Tampa Bay Rays during a baseball game Wednesday, Sept. 16, 2020, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Washington Nationals' Luis Garcia (62) and Asdrubal Cabrera (13) celebrate after the team defeated the Tampa Bay Rays during a baseball game Wednesday, Sept. 16, 2020, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Voth intentionally walked Nate Lowe with a runner on second and two outs in both the third and fifth innings and ended the threats by retiring Manuel Margot.

Kyle Finnegan walked Nate Lowe on a 3-2 pitch to load the bases with two outs in the seventh but then got a grounder from Margot.

NUMBERS

Tampa Bay Rays relief pitcher Nick Anderson (70) reacts after giving up a two-run home run to Washington Nationals' Luis Garcia during the 10th inning of a baseball game Wednesday, Sept. 16, 2020, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Tampa Bay Rays relief pitcher Nick Anderson (70) reacts after giving up a two-run home run to Washington Nationals' Luis Garcia during the 10th inning of a baseball game Wednesday, Sept. 16, 2020, in St. Petersburg, Fla. (AP PhotoChris O'Meara)

Soto has reached base safely in 19 straight games. His longest streak is a 21-game run from Aug. 24-Sept. 16, 2018. ... . Rays SS Willy Adames went 0 for 4, including three strikeouts, and has two hits in his last 32 at-bats.

LOOKING AHEAD

The Rays will open spring training play next year against Minnesota on Feb. 27. The first workout for pitchers and catchers is scheduled for Feb. 18, with the initial full-squad session on Feb. 23.

TRAINER’S ROOM

Nationals: RF Adam Eaton was replaced defensively in the fourth inning by Josh Harrison. There was no immediate announcement on why the change was made.

Rays: C Mike Zunino (left oblique strain) could return early next week. ... INF Yandy Díaz (right hamstring strain) is playing catch but still very limited in running drills.

UP NEXT

Nationals: Begin a five-game series with Miami on Friday night.

Rays: LHP Blake Snell (4-1) will start Game 1 of a doubleheader at Baltimore on Thursday. The second game starter has not been announced.

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