The Pirates got a lift from pitcher Jeanmar Gomez, tabbed for a spot start less than three hours before the scheduled first pitch, to beat the Mariners, 4-1, tonight at PNC Park.

Gomez struck out five batters in five scoreless innings, allowing two hits and two walks to earn his second win of the season and first as a starter.

Gomez pitched in place of James McDonald, placed on the disabled list late Tuesday afternoon with right shoulder discomfort.

The Pirates got all the runs they needed in the first inning, when they pounced on Seattle starter and former division foe Aaron Harang. The Pirates took a 2-0 lead early by stringing together three hits before Harang could record an out.

Starling Marte led off the first inning by hustling for an infield single. Travis Snider followed with an RBI double to right-center field, his eighth double of the season. He scored when Andrew McCutchen had his team-leading 18th RBI on a double to left-center field.

But McCutchen was stranded on the bases when Garrett Jones grounded out, Michael McKenry field out and Pedro Alvarez struck out.

Alvarez went 0 for 3 with three strikeouts and has struck out in six of his past 11 at-bats.

Harang, who spent eight seasons with the Cincinnati Reds, allowed two earned runs and five hits in six innings. He struck out six batters without allowing a walk.

Mark Melancon struck out two batters in a 1 2/3 inning to pick up his major league-leading 12th hold of the season. He has an 0.53 ERA with 17 strikeouts and no walks in 17 innings. Jason Grilli earned his league-leading 13th save of the season.

The Mariners halved the Pirates' lead in the seventh inning when Jesus Montero hit a pinch-hit, RBI double to right-center field, scoring Dustin Ackley to make it 2-1. Ackley singled off Tony Watson with one out, and Montero doubled off Jose Contreras.

Jones gave the Pirates a pair of insurance runs in the bottom of the eighth with a two-out, two-run homer off Seattle reliever Carter Capps. The home run, Jones' fourth of the season, came on a 2-2 fastball.

McCutchen went 4 for 4 with an RBI and a run scored to continue his recent hot streak. In the past seven games, McCutchen is hitting .464 with four runs and five RBIs.