WASHINGTON (AP) — Danny Espinosa gave Washington an early lead with a three-run homer in the second inning and the Nationals snapped a three-game losing streak with a 7-5 win over the Chicago Cubs on Friday night.

The Nationals finished with 12 hits and broke out of a recent offensive slump in which they scored only 15 runs while losing six of their last seven games.

They touched up Chicago starter Tsuyoshi Wada (0-1) for five runs on nine hits in his 3 2/3 innings. Washington finished with three doubles and a homer off Wada, hitting the ball hard several times.

Starter Tanner Roark (2-2) retired the first 10 batters he faced but later gave up three homers - two to Chicago's Anthony Rizzo - and four runs in 5 2/3 innings. Roark left with a 5-4 lead and four Washington relief pitchers combined to give up just one run in the final 3-plus innings.

That came in the ninth off closer Drew Storen, who closed it and earned his 18th save. He was tied with St. Louis closer Trevor Rosenthal for the National League lead before the game, and the Cardinals were playing in Los Angeles.

Washington gave Roark an early lead. Espinosa sent a 2-2 pitch from Wada over the Chicago bullpen in left for the 3-0 lead.

Rizzo answered for the Cubs with a solo homer in the fourth to make it 3-1. Michael A. Taylor (sacrifice fly) and Denard Span (single) each drove in a run as the Nationals stretched their lead to 5-1 in the bottom of that inning.

The Cubs then cut it to 5-4 in the sixth thanks to a two-run homer from Rizzo and a solo shot from Miguel Montero that ended Roark's night.

Wilson Ramos and pinch-hitter Dan Uggla both gave the Nationals some insurance with RBI doubles. Ramos did it in the seventh while Uggla came through in the eighth.

TRAINER'S ROOM:

Cubs: OF Chris Denorfia (left hamstring strain) continued his rehab assignment Friday with the Double-A Tennessee Smokies. He started in left field and batted fifth after going 1-for-3 with a double and two runs scored Thursday.

Nationals: 3B Yunel Escobar's right wrist remained sore Friday, and he was out of the starting lineup with manager Matt Williams saying he's "day-to-day." X-rays came back negative on the wrist, which Escobar injured on a checked swing early in Thursday's game. .RHP Doug Fister (right forearm tightness) will make a rehab start Sunday for Triple-A Pawtucket. .RHP Stephen Strasburg (neck tightness) was working on "mound stuff," according to Williams, and also is progressing. But no rehab date yet for him.

UP NEXT:

Cubs: RHP Jason Hammel (4-2, 2.82) has given Chicago quality starts in six of his last seven games. Also, he's 8-0 versus the Nationals, the only major league pitcher ever to post at least eight wins without a loss against Washington.

Nationals: RHP Joe Ross will be making his major-league debut. The Nationals are calling him up from Double-A Harrisburg, where Ross is 2-2 with a 2.81 ERA in nine starts this season