The deal was announced Wednesday, less than 12 hours after Boston’s main AL East rival, the New York Yankees, obtained reliever Zach Britton from Baltimore.

Eovaldi returned this season following Tommy John surgery performed in August 2016, going 3-4 with a 4.26 ERA in 10 starts. He started 2018 on the disabled list after undergoing arthroscopic surgery on the elbow at the end of spring training.

The division-leading Red Sox entered Wednesday five games ahead of the Yankees.