PHILADELPHIA (AP) — Aaron Harang scattered five hits over eight scoreless innings and Ryan Howard hit his team-leading seventh home run, leading the Philadelphia Phillies to a 4-2 victory over the Pittsburgh Pirates on Thursday.

The Phillies won their second straight, matching their longest winning streak of the season and salvaging a split in the four-game series. The Pirates (17-18) avoided a shutout when Starling Marte doubled to deep center field off Ken Giles with one out in the ninth, scoring Josh Harrison.

READ MORE: Pete Rose Dismisses Sexual Misconduct Questions At Phillies' Alumni Weekend

Jonathan Papelbon, who became the Phillies’ all-time franchise saves leader Wednesday night, recorded the final two outs for his eighth save in eight chances this season. Marte scored on Pedro Alvarez’s groundout to first.

READ MORE: Philadelphia Weather: Week Starts With Muggy Conditions Before Cold Front Arrives

Harang (4-3) settled into a groove after escaping trouble in the first inning, when he needed 27 pitches and left two runners in scoring position.

BOX SCORE

MORE NEWS: Philadelphia Officer Hit By Car In Tioga Section

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)