AC Milan have appointed Sinisa Mihajlovic as their new manager - only hours after sacking Filippo Inzaghi.
Mihajlovic, who stepped down as Sampdoria coach earlier this month after almost two years in charge of the Genoa outfit, has agreed a two-year deal with the Rossoneri.
A statement from AC Milan read: "Sinisa Mihajlovic, who has signed a two-year contract with the club, will be the new AC Milan coach for next season.
"The club wishes Mihajlovic the best results."
Milan are looking for a spark after two disappointing campaigns.
The Rossoneri, under first-year coach Inzaghi, finished 10th in Serie A this season and will miss out again on European football after finishing eighth the previous year.
Earlier on Tuesday Milan released a separate statement announcing that Inzaghi, who was under contract for another season, had left the club.
It said: "AC Milan announces it has dismissed first team coach Filippo Inzaghi and thanks him for the work done."
Under Mihajlovic, Samp finished seventh in the standings this season.
The 46-year-old, a long-time player in Italy's Serie A, ended his career after two seasons with Milan's city rivals Inter.
He stayed with the club, however, as an assistant coach to manager Roberto Mancini from 2004 until 2006.
The Serbian tactician went on to coach Serie A sides Bologna, Catania, Fiorentina and the Serbian national team before landing the job at Samp in 2013.
Milan began the 2013-14 campaign with Massimiliano Allegri in charge but fired him and put former player Clarence Seedorf in command of the team.
Seedorf's spell was shortlived and he parted with Milan immediately after the season, with the club installing Inzaghi.
Inzaghi had previously been in charge of the club's youth team but the Rossoneri struggled during his tenure, winning just 13 of their 38 league games in the 2014-15 campaign.
Mihajlovic was not MIlan's first choice to replace Inzaghi, with the Rossoneri having tried to lure Carlo Ancelotti back to the San Siro.
However, the former Real Madrid manager turned down an offer to return to Milan this summer.