SHARECOMMENTMORE

San Francisco, CA (Sports Network) - The Miami Marlins rallied to score three runs in the eighth inning and defeat the San Francisco Giants, 6-3, in the second of a four-game set at AT&T Park.

Tied at 3-3 and with Jake Dunning (0-1) pitching for the Giants, Ed Lucas singled to center with one out in the eighth and Giancarlo Stanton was hit by a pitch.

Javier Lopez then came on in relief. He struck out Logan Morrison, but was replaced by Jean Machi, who gave up Marcell Ozuna's RBI single to right. Pinch-hitter Greg Dobbs then singled up the middle, plating Stanton.

Next up was Adeiny Hechavarria, who hit an infield single and the Giants' Joaquin Arias made an errant throw to first, allowing Ozuna to score.

A.J. Ramos (1-2) pitched a flawless seventh inning to pick up the win and Steve Cishek escaped trouble in the ninth to notch his 12th save.

Logan Morrison had a home run and two RBI and Ozuna also drove in two runs for the Marlins, who saw starter Ricky Nolasco allow three runs on nine hits and two walks over 5 2/3 innings.

San Francisco starter Tim Lincecum fanned eight and gave up three runs on four hits and a walk in seven frames. Marco Scutaro, Hunter Pence and Nick Noonan had an RBI apiece in the setback.