WASHINGTON - The Washington Nationals used a collective effort to win without Bryce Harper.

Joe Ross struck out 11 in his third major league start, and the Nationals beat A.J. Burnett and Pittsburgh 4-1 on Friday night to end the Pirates' eight-game winning streak.

Playing without Harper, who's sidelined with a left hamstring strain, the Nationals got at least one hit from every starter in the lineup — including Ross.

More importantly, the 22-year-old Ross (2-1) allowed one run, six hits and a walk in 7 1/3 innings.

"I always thought of myself as being good enough to be up here, but I don't think I could have imagined doing so well so soon," Ross said.

Burnett (6-3) gave up 14 hits, the most in a career that began in 1999. The 38-year-old did, however, strike out seven to move past Andy Pettitte into 37th place on the career list with 2,451.

"The ball was up a little bit for A.J. tonight and we took advantage of it," Washington manager Matt Williams said. "We had a lot of opportunities out there, which we created, and that's great."

Williams talked before the game having his players be more aggressive to help boost the offence — an approach that became evident in a two-run first inning.

Denard Span led off with a single and took third on a hit-and-run single by Anthony Rendon. With Yunel Escobar batting, Rendon broke for second and reached the base on a run-scoring groundout before Ramos capped the uprising with an RBI double.

That turned out to be all the runs Washington needed to back Ross.

"A good formula for us tonight," Williams said.

David Carpenter got the final two outs in the eighth inning and Drew Storen worked the ninth for his 20th save.

Wilson Ramos had two hits and two RBIs for the Nationals, who ended a four-game home losing streak. Washington stranded nine and went 4 for 17 with runners in scoring position.

Yet the Nationals won anyway on a day Harper avoided the disabled list, although that could still happen if he's slow to recover from the injury.

"It was a good work day for him today," Williams said. "We'll see where he is (Saturday)."

Burnett gave up four runs, three earned, in 6 2/3 innings. It was a struggle from the outset.

"You can't give up," he said. "It was different, but I was still able to get a groundball here and there."

Pittsburgh pitchers had a 0.69 ERA during the eight-game run, including a five-hit shutout by Burnett against Philadelphia on Sunday.

In this one, Burnett gave up six hits by the second inning and 10 after five.

"It wasn't his A-stuff," manager Clint Hurdle said. "The fastball command was in and out, the balls were more elevated tonight. He didn't have the curveball he's had from start to finish at times. His will to compete got things done out there on the mound and kept us in the ballgame tonight."

After Washington jumped ahead in the first inning, Gregory Polanco singled in a run for Pittsburgh in the second. Ramos made it 3-1 with a third-inning RBI single.

Washington went up 4-1 in the seventh with an RBI triple by Danny Espinoza. Polanco left the game after banging into the wall in right field trying to make the catch, but Hurdle said that was merely a precautionary move that enabled him to make a double-switch while removing Burnett.

TRAINERS ROOM

Pirates: Jung Ho Kang started at 3B and Josh Harrison moved to 2B because Neil Walker was experiencing "stomach discomfort," according to Hurdle.

Nationals: RHP Stephen Strasburg (neck) is scheduled to throw a bullpen session on Saturday.

ON DECK

Pirates: Francisco Liriano (4-5, 2.94 ERA) starts Saturday against the Nationals. He's 3-1 with a 1.29 ERA in his last five starts.

Nationals: Max Scherzer (7-5, 1.93) looks for an encore to his last outing, a one-hit shutout of Milwaukee with 16 strikeouts.

BABY ON BOARD

Nationals RHP Tanner Roark was placed on the paternity list and RHP Taylor Hill was recalled from Triple-A Syracuse.