Inter have confirmed the end of Leonardo's mission in Milan after amicably agreeing to rescind the former coach's contract.
It now leaves the Brazilian free to complete his anticipated move to French club Paris Saint-Germain, where he will occupy a director's role.
A statement on Inter's official website reads:
"They were intense months with the satisfaction of victory in the Coppa Italia. Inter and Leonardo have resolved the contract amicably.
"But despite all the bureaucratic formulas in these cases, everyone has esteem for Leonardo, a person who is always capable of showing himself.
"President Massimo Moratti and the club thank Leonardo for their time together and wish him the best of luck for his future career."
Leonardo joined Inter in December 2010 after they sacked Rafael Benitez following a poor run.
The former AC Milan man led them to a second-place finish in Serie A, as well as a Coppa Italia win.
Last week Moratti's club announced the arrival of Gian Piero Gasperini as Leonardo's replacement on the bench after he'd announced his intention to head for Paris.
Gasperini, a former Genoa coach, signed a two-year deal.