WASHINGTON (AP) — Jayson Werth singled in the winning run with two outs in the 12th inning, giving the Washington Nationals a 5-4 victory over the Chicago Cubs on Wednesday long after starters Stephen Strasburg and Jason Hammel dueled to a scintillating draw.

Facing Adam Warren, Werth hit a liner off the wall in center field to score Michael Taylor, who hit an RBI single against Trevor Cahill (0-2) earlier in the inning.

Addison Russell had given the Cubs the lead with a run-scoring single off Yusmeiro Petit (2-0) in the top half.

A sellout crowd of 42,000, largest of the season in Washington, watched the deciding matchup of a three-game series between first-place teams.

Strasburg gave up one run in seven innings for the Nationals, and Hammel did the same for Chicago. After they departed, both teams received shoddy bullpen work.

Join our Newsletter for the latest news right to your inbox