Lopez went back to the Diamondbacks in 2005 before joining the Boston Red Sox from 2006 to 2009. He played for the Pittsburgh Pirates in 2010 and joined the San Francisco Giants the same year. In 2011 Lopez re-signed with the Giants for a two year deal worth $8.5 million. He re-signed again in 2013 for a three year $13 million deal. Lopez is a three time World Series Champion, with the Red Sox in 2007 and the Giants in 2010 and 2012.