Dexter Fowler hit a sacrifice fly in the bottom of the ninth inning and the Colorado Rockies overcame a tying, three-run homer by Pedro Alvarez to beat the Pittsburgh Pirates 5-4 on a rain-soaked Monday night.
Wilin Rosario had two hits and scored the winning run for the Rockies.
Neil Walker had three hits and Andrew McCutchen added two for the Pirates, who have lost three of four.
Rosario led off the ninth with a single against reliever Jason Grilli (1-3) and moved to third on a one-out single by pinch-hitter Jason Giambi. Fowler hit a deep fly to McCutchen in center field and Rosario slid home ahead of the throw.
Intermittent rain, heavy at times, fell throughout the night and finally prompted a 53-minute rain delay with one out in the top of the ninth and Colorado leading 4-1. McCutchen and Walker singled off closer Rafael Betancourt, and with Alvarez at the plate the tarp was brought out.
After play resumed, Alvarez hit reliever Rex Brother's first pitch, a 98 mph fastball, into the left-field seats to tie the score at 4.
Brothers (5-2) got the win despite serving up the tying home run.
The Rockies were held in check by Pittsburgh starter Jeff Karstens until they broke through in the fifth. Tyler Colvin led off with walk, Rosario singled him to third and Josh Rutledge drove him in with another single.
Eric Young Jr., batting for starter Jeff Francis, drove a two-run double off the scoreboard in right field to make it 3-1. Young scored on Marco Scutaro's single.
Francis allowed one run and six hits, struck out one and didn't walk a batter in five innings.
Karstens was cruising before the fifth, retiring seven straight and allowing just three baserunners. He also contributed at the plate in the fifth.
With one out and Alvarez on first, Clint Barmes singled to left and Karstens followed with a grounder that bounced near the plate and over first baseman Michael Cuddyer for an RBI single to make it 1-0.
It was Karstens' first RBI this season and the third of his career.
He allowed four runs and six hits, struck out four and walked two in seven innings.
NOTES: The Rockies said INF Chris Nelson was admitted to a hospital to undergo tests for an irregular heartbeat and will remain hospitalized overnight. ... The Pirates activated outfielder Alex Presley from the seven-day concussion disabled list and optioned first baseman Matt Hague to Triple-A Indianapolis. ... Rockies RHP Juan Nicasio had surgery on his left knee and will likely miss the rest of the season. ... Walker extended his hitting streak to 16 games. ... The Pirates will send LHP Erik Bedard (4-10) to the mound against Rockies LHP Christian Friedrich (5-6) on Tuesday.