Joe Maddon has exercised an opt-out clause in his contract and is leaving the Tampa Bay Rays immediately.

Maddon will become free to work on a deal with any club.

Andrew Friedman left the Rays to join the Los Angeles Dodgers this offseason and Maddon could conceivably join him there.

Friedman previously has said that Mattingly would definitely return as manager of the Dodgers.