SAN FRANCISCO -- Giants pitcher Madison Bumgarner saw no reason to make a big deal over his first win of the year, even if it came far deeper into the season than anyone expected.
In a season that long ago spun out of control for both San Francisco and its ace, Bumgarner was happier seeing the struggling Giants have one of their best games of the year.
Bumgarner allowed one run over five innings for his first win of the season, and the Giants beat the Pittsburgh Pirates 11-3 on Tuesday night.
"It was nice to be on the board now individually," Bumgarner said. "But that's not what it's about. It's about us winning games, and we played really good tonight."
Eduardo Nunez drove in two runs in his final game with San Francisco as he was traded to Boston for two minor leaguers. The veteran infielder was pulled in the fifth inning and was later seen on television shaking hands with several teammates in the Giants' clubhouse. The deal was announced after a few minutes after the final out.
Bumgarner also singled and scored, Buster Posey had three hits and an RBI and Joe Panik added a bases-loaded triple as struggling San Francisco won for only the fifth time in 16 games.
Josh Harrison singled twice for the Pirates, who fell behind 9-0 and couldn't recover. Pittsburgh stranded seven runners in the first five innings, including four in scoring position.
Making his third start since coming off the disabled list after nearly three months following a dirt bike accident in Colorado on April 20, Bumgarner (1-4) was mostly sharp while quieting a potent Pittsburgh lineup and ending the Pirates' seven-game winning streak at AT&T Park.
Three years after pitching a complete game to beat Pittsburgh in the NL wild card on his way to winning the 2014 World Series MVP, Bumgarner pitched out of a pair of early jams, allowed six hits and had four strikeouts.
"He did a nice job," San Francisco manager Bruce Bochy said. "I'm sure he's glad to get that (first win) taken care of. Once he went five that was enough."
It's the first win by a Giants starting pitcher since July 5.
Jameson Taillon (6-4) took the loss, giving up 10 runs in three innings.
"I didn't make good pitches once they got runners on," Taillon said. "They didn't waste any time. They had a merry-go-round going."
UMPIRE GOES DOWN:
Posey lined a single that hit second base umpire Ed Hickox in the foot and knocked him down in the fifth inning. Hickox slowly got to his feet and was attended to by a member of the Giants medical staff but remained in the game.
Giants: RHP Johnny Cueto may need to make a rehab start before rejoining the rotation. Cueto has been hindered by blisters on multiple fingers of his pitching hand, an issue that has lingered for much of the past month. The right-hander played catch from 105 feet before the game. Pablo Sandoval moved from Single-A San Jose to Triple-A Sacramento as he continues to try to work his way back into the big leagues. RHP Chris Stratton was recalled from Sacramento and IF Orlando Calixte was optioned down.
RHP Jeff Samardzija (4-11, 5.05 ERA) pitches the finale for the Giants seeking to beat Pittsburgh for the second time this season while RHP Trevor Williams (4-4, 4.74 ERA) takes the mound for the Pirates looking for his fourth win in the last five road starts.