Anthony Rendon homered and had four hits, including an RBI single in the 11th inning, and the Nationals beat the Chicago Cubs 7-5 on Sunday for their fifth straight victory.
Juan Soto added three hits and Stephen Strasburg struck out 10 in six innings, helping Washington finish off its first sweep of Chicago since September 2012. The Nationals outscored the Cubs 23-10 in the three-game series.
Kyle Schwarber, Addison Russell and Victor Caratini homered for Chicago, which had won five in a row before Washington rolled into town. Cole Hamels pitched two-run ball into the sixth, helped by a couple of strong defensive plays behind him.
The Cubs fell four games behind Washington for the top spot in the wild-card standings.
Washington grabbed the lead for good when Howie Kendrick scored on Tyler Chatwood's wild pitch with Rendon at the plate in the 11th. Rendon then drove in Trea Turner with a single to left off Chatwood (5-2).
Daniel Hudson (7-3) pitched two perfect innings for his first win since he was acquired in a July 31 trade with Toronto.
The Cubs played without Anthony Rizzo, who was sidelined by tightness in his back.
Kris Bryant hit a tying single off Strasburg in the sixth, but the Nationals responded with three in the seventh. Soto made it 3-2 with a run-scoring single, and Asdrubal Cabrera drove in two more with a base hit to right.
Chicago then went to work against Washington's beleaguered bullpen.
Caratini homered against Hunter Strickland in the seventh. After Javier Baez walked with two outs in the eighth, Schwarber tied it at 5 with a drive to left-center off Fernando Rodney for his 30th homer.
Following an off day, RHP Yu Darvish (4-6, 4.43 ERA) starts the opener of a three-game series at the New York Mets. Marcus Stroman (7-11, 3.18 ERA) is penciled in for New York, but the right-hander has been dealing with left hamstring tightness.