The Boston Red Sox released pitcher Tyler Thornburg on Wednesday, putting an end to his disappointing career with the team.

Thornburg, 30, was acquired at the 2016 winter meetings in a trade with the Milwaukee Brewers for infielder Travis Shaw and minor league prospects Mauricio Dubon, Josh Pennington and Yeison Coca.

The Red Sox envisioned Thornburg as a key piece, a set-up man for closer Craig Kimbrel, and were willing to part with Shaw, who had shown power as a versatile infielder for the Red Sox in 2016.

Thornburg missed the entire 2017 season after being sidelined for thoracic outlet syndrome surgery. He pitched in only 41 games over the next two seasons because of injuries and ineffectiveness. His career with the Red Sox ended with 42 2/3 innings pitched, a 2-0 record and a 6.54 ERA.