He played for the Red Sox in 2011. He was then signed by the Pittsburgh Pirates to a one-year, $4.5 million contract on December 7, 2011. He was released by the Pirates in August after he had 7 wins, 14 losses and an ERA of 5.02 in 24 starts.