The Los Angeles Dodgers have reached a deal with former New York Mets closer Edwin Diaz , a source told ESPN's Jorge Castillo on Tuesday.

Diaz, 31, opted out of the two-year, $38 million guarantee that remained on the five-year deal he signed to remain with the Mets in 2022. The contract was considered a rare five-year commitment to a relief pitcher, but it ended after three seasons once Diaz decided to test the open market.

Diaz was tendered a $22.025 million qualifying offer by the Mets, which he declined by the Nov. 18 deadline. Because he signed with a new team, New York will receive a compensatory draft pick after the fourth round.

The decision to opt out was preceded by a vintage season for the righty closer, who logged a 1.63 ERA and converted 28 of 31 save chances for the

See Full Page