Updated

James McDonald pitched into the seventh inning Thursday and Neil Walker doubled home a pair of runs, leading the Pittsburgh Pirates to a 5-3 victory and a two-game sweep of the Cincinnati Reds.

The Pirates arrived in town with a six-game losing streak and came away with their first series sweep in Cincinnati since 2003. They did it with pitching — Charlie Morton threw a five-hitter for a 5-0 win in the opener.

McDonald (3-3) allowed one run and seven hits in 6 2-3 innings.

The Pirates finally broke through against Johnny Cueto (2-1), who had won his last seven decisions against them. Ryan Doumit added a solo homer.

The sweep left Pittsburgh 13-12 on the road, a vast improvement over last year's 17-64 mark away from home. The Pirates didn't get their 13th road win last season until July 28.

Pittsburgh has given the defending NL Central champions a tough time so far this season, winning five of their six games. Last year, the Reds took the season series 10-6.

The Pirates' starters handled one of the NL's most prolific lineups without much problem during the two-game series, giving up one run and 12 hits in 15 2-3 innings. Jay Bruce led off the second with a homer off McDonald.

Joey Votto singled home a run in the eighth off Joe Beimel. Bruce hit another solo homer in the ninth off Joel Hanrahan, who got his 12th save in as many chances.

Cueto has done some of his best pitching against the Pirates, going 7-0 in his previous nine starts against them with a 1.74 ERA. But the right-hander had a rough time from the start of this one.

He walked two in the second inning, when the Pirates loaded the bases with one out. Ronny Cedeno took a called third strike on a full-count breaking ball that was right down the middle, and McDonald flied out to end the threat. Through two innings, Cueto threw 44 pitches — 20 of them out of the strike zone.

Cueto got into trouble after retiring the first two batters to open the fifth. Andrew McCutchen doubled and came around on Xavier Paul's single. After a walk to Garrett Jones, Walker doubled off the wall in center for a 3-1 lead.

Doumit led off the sixth with his fourth homer off reliever Jordan Smith. McCutchen doubled home a run in the eighth against Nick Masset.

NOTES: The Pirates return home and start interleague play against Detroit. They're 10-14 against the Tigers in interleague play. ... The Reds visit Cleveland for the first of their two interleague series. The Reds are 13-5 against the Indians in the last three seasons. ... It was Bruce's 11th career multihomer game. ... Reds 2B Brandon Phillips extended his hitting streak to 10 games. He was thrown out at second base while trying to stretch a single in the seventh. ... C Ramon Hernandez had his hitting streak snapped at 11 games, longest by a Reds player this season.