Pablo Sandoval will miss the rest of the season with a torn right hamstring.

Sandoval played his first seven seasons with the Giants, winning World Series MVP honors in 2012. He became a free agent and signed a $95 million, five-year contract with Boston after the 2014 season.

He was released by the Red Sox in 2017 and signed with the Giants three days later. San Francisco is paying the $545,000 minimum this year, which is offset against the $18 million Sandoval is owed by Boston.