Giancarlo Stanton ties the major league record with 18th home run in August.

WASHINGTON (AP) -- Miami Marlins slugger Giancarlo Stanton has tied the major league record with his 18th home run in August, bashing his 51st of the season in the first inning of a game against the Washington Nationals.

A rainy day cannot stop Stanton's 51st homer in the 1st inning! Watch the @Marlins take on the Nationals live now on FOX Sports Florida!

— FOX Sports Florida (@FOXSportsFL) August 29, 2017

Stanton matched the mark set by Rudy York with the Detroit Tigers in August 1937. Stanton's drive Tuesday night off Edwin Jackson landed deep in the left-field stands and came after a 26-minute rain delay. He extended the Marlins' franchise record for most homers in a month.

Stanton is two shy of tying Sammy Sosa for the most homers in any month. Sosa had 20 in June 1998 and finished with 66 that season.

Stanton entered Tuesday batting .381 with 35 RBIs in August. He's won a pair of NL Player of the Week awards this month.

On Sunday, Stanton became the first NL player since Price Fielder in 2007 to hit at least 50 home runs in a season.