PITTSBURGH (AP) -- Josh Harrison shrugged it off when the Nationals intentionally walked the batter ahead of him in the lineup. Late in a tie game, Harrison had confidence facing Washington's ace.
Harrison lined a two-out single to center after Jose Tabata tied the game with a sacrifice fly two batters earlier, and the Pittsburgh Pirates beat the Nationals 3-2 Saturday night for their fourth straight win.
''I was pretty much telling myself, 'I feel like I'm seeing everything he's throwing,''' Harrison said of his seventh-inning at bat against Stephen Strasburg. ''I was just looking to barrel something up.''
Gerrit Cole left after six innings trailing by a run while facing Strasburg in the first matchup in the NL of No. 1 overall draft picks in nine years.
Cole - the top pick of the 2011 draft, two years after Strasburg went first - allowed two runs on five hits with seven strikeouts.
Strasburg (3-4) allowed three runs on seven hits with seven strikeouts in seven innings.
Neil Walker hit his 10th home run for the Pirates, who tied their season-best winning streak.
Jered Hughes (3-1), Jeanmar Gomez and Mark Melancon each worked a perfect inning of relief for Pittsburgh. Melancon picked up his ninth save when he finished the Pirates' majors-best 14th one-run victory.
Ian Desmond hit his ninth homer for Washington (24-25), which has lost six of eight and fell under .500 for the first time this season.
''It's tough - we're all trying very hard, trying to get back on track,'' Strasburg said.
''I do think we've probably reached the point where we're trying too hard and need to take a step back and let the game come to us.''
The bullpen backed up Cole, who allowed 10 baserunners and threw 112 pitches in six innings, retiring the side in order only once.
Still, Pittsburgh won for the fourth time in five May starts by Cole.
''A very gritty, gritty outing,'' Hurdle said of Cole.
Wilson Ramos' sawed-off, bloop single in the sixth scored Anthony Rendon to give the Nationals a 2-1 lead.
''Just tried to limit the damage as much as I (could),'' said Cole, who downplayed any extra adrenaline in competing in such a high-profile pitching matchup.
Strasburg, who struck out 14 in a memorable major league debut against the Pirates almost four years ago, did not allow a hit Saturday until Walker's homer to center with one out in the fourth.
Pittsburgh managed just three more singles off Strasburg until the seventh, when Russell Martin led off with a single and went to third on a one-out double by Marte before scoring on the sacrifice fly by pinch-hitter Tabata.
After Strasburg fell behind pinch-hitter Travis Snider 2-0, the Nationals intentionally walked him, setting up Harrison's at-bat.
''(Strasburg) pitched very well,'' Washington manager Matt Williams said. ''Of course, they got to him in that last inning but I want to give him a chance to get out of there with a tie game. He was still strong. He's our ace, he's deserves a chance to get out of it and it didn't work out.''
Martin and Marte each had two hits. Greg Dobbs went 2 for 4 for the Nationals.
NOTES: The Mets' Kris Benson (the No. 1 pick of the 1996 draft) faced Cincinnati's Paul Wilson (No. 1 overall in 1994) on May 16, 2005 - the most recent occurrence of top picks facing each other in the NL.
It happened in the American League two years ago (Kansas City's Luke Hochevar vs. Tampa Bay's David Price on Aug. 21, 2012). . 1B Adam LaRoche joined the Nationals in Pittsburgh and will be activated for Sunday's game. Infielder Zach Walters was optioned to Triple-A Syracuse after Saturday's game to make room for LaRoche, who has been on the disabled list since May 10 because of a right quad strain. ... SS Desmond's homer gives the Nationals 17 this season from their middle infielders, most in the majors. ... The crowd of 38,889 was the second sellout of the season at PNC Park. . The four-game series wraps up Sunday when Washington RHP Doug Fister (1-1, 3.93) faces Pirates LHP Francisco Liriano (0-4, 4.86). Despite his record, Pittsburgh has won five of Liriano's past six starts.