The Mets beat the Nationals, 8-4, in the rubber game of a three-game series on Wednesday at Nationals Park in Washington.

Credit: AP/Patrick Semansky

The Washington Nationals' Trea Turner singles in front of Mets catcher Wilson Ramos in the second inning of a game on Wednesday in Washington. Gerardo Parra scored on the play.

Credit: AP/Patrick Semansky

The Mets' J.D. Davis, right, and Robinson Cano celebrate after scoring on Washington Nationals centerfielder Victor Robles' fielding error of Amed Rosario's single in the sixth inning of a game against the Washington Nationals on Wednesday in Washington.

Credit: AP/Patrick Semansky

Mets starting pitcher Zack Wheeler delivers to the Washington Nationals in the first inning of a game on Wednesday in Washington.

Credit: AP/Patrick Semansky

Washington Nationals manager Dave Martinez, right, relieves starting pitcher Anibal Sanchez, second from right, in the sixth inning of a game against the Mets on Wednesday in Washington.

Credit: AP/Patrick Semansky

Nationals starting pitcher Anibal Sanchez delivers to the Mets in the second inning of a game on Wednesday in Washington.

Credit: AP/Patrick Semansky

The Mets' Robinson Cano runs to third base on J.D. Davis' double in the sixth inning of a game against the Washington Nationals on Wednesday in Washington.

Credit: ERIK S LESSER/EPA-EFE/Shuttersto/ERIK S LESSER/EPA-EFE/Shutterstock

Mandatory Credit: Photo by ERIK S LESSER/EPA-EFE/Shutterstock (10378590e)New York Mets starting pitcher Jacob deGrom delivers to a Washington Nationals batter in the first inning of the MLB baseball game between the Washington Nationals and the New York Mets at Nationals Park in Washington, DC, USA, 03 September 2019.New York Mets at Washington Nationals, Washington, Dc, USA - 03 Sep 2019

Credit: ERIK S LESSER/EPA-EFE/Shuttersto/ERIK S LESSER/EPA-EFE/Shutterstock

New York Mets starting pitcher Jacob deGrom walks off the field after pitching to the Washington Nationals in the first inning of the MLB baseball game between the Washington Nationals and the New York Mets at Nationals Park in Washington, DC, USA, 03 September 2019.New York Mets at Washington Nationals, Washington, Dc, USA - 03 Sep 2019

Credit: ERIK S LESSER/EPA-EFE/Shuttersto/ERIK S LESSER/EPA-EFE/Shutterstock

New York Mets second baseman Robinson Cano participates in batting practice after being activated from the injured list before the MLB baseball game between the Washington Nationals and the New York Mets at Nationals Park in Washington, DC, USA, 03 September 2019.New York Mets at Washington Nationals, USA - 03 Sep 2019

Credit: ERIK S LESSER/EPA-EFE/Shuttersto/ERIK S LESSER/EPA-EFE/Shutterstock

Mets relief pitcher Tyler Bashlot reacts in the dugout in the ninth inning of the MLB baseball game between the Washington Nationals and the New York Mets at Nationals Park in Washington, DC, USA, 02 September 2019.

Credit: ERIK S LESSER/EPA-EFE/Shuttersto/ERIK S LESSER/EPA-EFE/Shutterstock

New York Mets third baseman Jeff McNeil (L) is greeted by New York Mets first baseman Pete Alonso (R) at the end of the MLB baseball game between the Washington Nationals and the New York Mets at Nationals Park in Washington, DC, USA, 02 September 2019.

Credit: AP/Patrick Semansky

New York Mets starting pitcher Jacob deGrom walks off the field after the first inning of the team's baseball game against the Washington Nationals, Tuesday, Sept. 3, 2019, in Washington. Washington scored a run against deGrom in the first.

Credit: AP/Patrick Semansky

New York Mets second baseman Joe Panik fields a ground ball that was hit by Washington Nationals' Gerardo Parra in the sixth inning of a baseball game Monday, Sept. 2, 2019, in Washington.

Credit: AP/Patrick Semansky

New York Mets manager Mickey Callaway stands in the dugout before the team's baseball game against the Washington Nationals, Tuesday, Sept. 3, 2019, in Washington.

Credit: Getty Images/Greg Fiume

Jeff McNeil #6 and Edwin Diaz #39 of the New York Mets celebrate a 7-3 victory against the Washington Nationals at Nationals Park on September 2, 2019 in Washington, DC.

Credit: Getty Images/Greg Fiume

Noah Syndergaard #34 of the New York Mets pitches in the first inning against the Washington Nationals at Nationals Park on September 2, 2019 in Washington, DC.

Credit: Getty Images/Greg Fiume

J.D. Davis #28 of the New York Mets celebrates with Rene Rivera #44 after scoring in the second inning against the Washington Nationals at Nationals Park on September 2, 2019 in Washington, DC.

Credit: Getty Images/Greg Fiume

Noah Syndergaard #34 of the New York Mets pitches in the seventh inning against the Washington Nationals at Nationals Park on September 2, 2019 in Washington, DC.

Credit: Getty Images/Greg Fiume

New York Mets fans cheer in the sixth inning of the game against the Washington Nationals at Nationals Park on September 2, 2019 in Washington, DC.

Credit: AP/Patrick Semansky

Washington Nationals starting pitcher Max Scherzer throws to a New York Mets batter during the first inning of a baseball game Tuesday, Sept. 3, 2019, in Washington.