The San Francisco Giants acquired right-handed starting pitcher Jake Peavy from the Boston Red Sox on Saturday.
The Giants sent pitching prospects Edwin Escobar and Heath Hembree to the Red Sox to get Peavy. According to ESPN, the Red Sox and Giants will share equally the $5 million left to be paid on Peavy's contract this year.
Peavy, 33, is 1-9 with a 4.72 ERA in 20 starts this season. He will make his Giants' debut on Sunday night pitching against the Los Angeles Dodgers, replacing scheduled starter Yusmeiro Petit.
The Giants need a starting pitcher with right-hander Matt Cain on the disabled list with an elbow injury.
Boston acquired Peavy last July 30 from the Chicago White Sox in a three-team deal that also involved the Detroit Tigers.
In 13 seasons with the San Diego Padres, White Sox and Red Sox, Peavy is 133-107 with a 3.58 ERA.
Peavy is a free agent at the end of the season.
Escobar and Hembree were pitching with the Giants' Triple A affiliate in Fresno.
Escobar, 22, is a left-handed starter. He is 3-8 with a 5.11 ERA.
Hembree, 25, is a right-handed reliever who was once considered the Giants' closer of the future. He is 1-3 with a 3.89 ERA this season.