PITTSBURGH (KDKA/AP) — It took 14 innings, but the Pirates pulled off a win, beating the Colorado Rockies, 4-3 on Friday night.

Jose Tabata hit an RBI double to end the tie with two outs left in the 14th. This was the major’s longest game of the season.

Garrett Olson (1-1) pitched two scoreless innings and Pittsburgh’s relievers combined to shut out the Rockies for 11 1-3 innings.

The win comes one day after the Pirates dropped their home opener, losing 7-1 with Esmil Rogers on the mound who dominated over 7 1-3 innings.

Ross Ohlendorf started for the Pirates, but after two innings left with discomfort in his right shoulder.

The beginning looked shaky.

At the top of the first, Jason Giambi hit a homer to right field, batting in Dexter Fowler and Jonathan Herrera to make it 3-0.

The Pirates didn’t record a run until the fourth inning. Matt Diaz hit a grounder that allowed Neil Walker to run home.

In the fifth, Tabata sent a homer to center field on a 90-mph fastball from Jorge De La Rosa.

Then, at the bottom of the sixth, Jason Jaramillo hit an RBI single to right field, sending Lyle Overbay to home plate.

Watch & Listen LIVE