SAN FRANCISCO (AP) - Matt Cain had Hanley Ramirez in an 0-2 hole and was one pitch from working out of a third-inning jam.
When the San Francisco starter let Ramirez off the hook with a walk, Cain knew he was in trouble. Another walk and a three-run double by Gaby Sanchez confirmed it.
``That's my fault,' said Cain, who lost for the first time since May 1. ``That can't happen. That can't happen at all and that's the reason we lost tonight. I didn't make the pitches to get him out and finish the inning.'
Ricky Nolasco pitched scoreless ball into the ninth and the Florida Marlins quieted the streaking Giants with a 5-1 victory Tuesday night.
Mike Stanton hit his 11th home run of the season to help the Marlins snap the defending World Series champions' nine-game home winning streak. San Francisco had won five straight overall to move into first place in the NL West.
Omar Infante had three singles and Sanchez finished with three hits to chase Cain (3-3) after six innings. Florida has won three of its last four games.
``We just ran into a well-pitched game,' San Francisco manager Bruce Bochy said. ``Matty had good stuff. He just was maybe not quite as sharp as he's been, but overall it wasn't a bad job. It's just the offense got shut down.'
Nolasco (4-0) loaded the bases with one out in the ninth before Leo Nunez entered to get his major league-best 18th save this season. Nolasco struck out five and was charged with one run on seven hits.
The Marlins didn't waste a chance to shine out West.
They were patient against Cain as he struggled with his command early, giving up four runs on six hits. He struck out four but tied his season high with three walks, and the Marlins took advantage of all the free passes.
Cain walked Ramirez and Logan Morrison with two outs in the third to load the bases. Sanchez followed with a bases-clearing double to right-center, giving Florida a 3-0 lead.
Stanton sent the first pitch of the fourth inning just over the center-field wall to put the Marlins ahead 4-0. Andres Torres seemed to be in position to make the catch, reaching up to snatch the ball only to have his glove hit the padding. Torres watched as the ball barely sailed over the 399-foot sign on the wall.
``I felt good, I really did,' Cain said. ``The middle of their lineup is good. They're tough right now. They're seeing the ball well and they're taking good at_bats.'
The four runs were more than enough support for Nolasco.
The hard-throwing right-hander with the big breaking ball had hitters baffled almost from the start. Torres had a leadoff double in the first and advanced to third on a groundball two batters later before Buster Posey flied out to right.
San Francisco didn't come close to scoring again until the ninth, when Posey singled and Cody Ross hit a double. Nolasco walked Mike Fontenot before Nunez entered.
All the Giants could muster off the Marlins' closer was a sacrifice fly from Miguel Tejada before Emmanuel Burriss flied out to right to end the game.
``I would've liked to finish it,' Nolasco said. ``But it was a big win to start the road trip against these guys.'
Nolasco challenged the quick-swinging Giants by pounding the strike zone with a combination of curves. He had innings of eight, nine and 10 pitches in a performance that was simply dominant.
``I think that was so far his best performance of the year,' Florida manager Edwin Rodriguez said.
The Marlins added another run in the eighth when Chris Coghlan had a leadoff double. Ramirez bunted him over, and Coghlan scored two batters later on reliever Guillermo Mota's wild pitch.
After three straight no-decisions, Nolasco earned his first win since May 1 at Cincinnati. He also threw a two-hit shutout at San Francisco on Aug. 19, 2008.
NOTES: During the game, someone broke into the Giants' postgame interview room and stole the wall-sized banner that was hanging behind Bochy's seat. ... LHP Barry Zito faced hitters for the first time since going on the disabled list April 17 with a sprained right foot. Between his bullpen session and the simulated game, he threw about 100 pitches. He is expected to pitch in extended spring training in Arizona later this week. ... Posey extended his hitting streak to 12 games with a single in the seventh.
Copyright 2018 by STATS LLC and Associated Press.
Any commercial use or distribution without the express written
consent of STATS LLC and Associated Press is strictly prohibited.