Back-to-back Clásico defeats that effectively ended Madrid's hopes of domestic silverware were followed by an embarrassing Champions League last-16 exit to Ajax last week. And that meant the writing was on the wall for Solari, a LaLiga and Champions League winner with Madridas a player.

Here, we look at some other notable examples of ex-players whose return to clubs as head coaches did not exactly go to plan.

Filippo Inzaghi (AC Milan)

One of the most revered strikers in Serie A history, Inzaghi was a hero with the red and black side of San Siro, winning two league titles, a Coppa Italia and a pair of Champions Leagues between 2001 and 2012. Having initially taken over as coach of Milan's Primavera team for the 2012-13 season, Inzaghi was promoted to the top job in June 2014. However, after a season of toil, which failed to deliver European football, he was dismissed.

Ciro Ferrara (Juventus)

Fearsome centre-back Ferrara was an icon during his time as a player at Juventus, which yielded a host of honours including five Serie A medals, a Coppa Italia triumph and a Champions League title. A golden homecoming was the target when he replaced Claudio Ranieri as head coach in June 2009, but by January of the following year Ferrara had been sacked, with Juve struggling in Serie A and out of the Coppa Italia and Champions League.

Alan Shearer (Newcastle United)

To this day there are few, if any, men who command higher status among the St James' Park faithful than Shearer. Both Newcastle and the Premier League's all-time leading scorer, all that was missing from his time at his hometown club was silverware. When an SOS call came at the end of a miserable 2008-09 campaign, Shearer answered and took up his first managerial role. However, with just eight games of the season remaining, he was unable to oversee a turnaround in fortunes and Newcastle were relegated, their 16-year stay in the top flight - and Shearer's tenure - ending with a 1-0 loss at Aston Villa.

Rogério Ceni (Sao Paulo)

The cult hero and enigmatic goalkeeper was known as a free-kick and penalty specialistwho scored 131 goals for São Paulo. As a player he won three Club World Cup titles, a pair of Copa Libertadores trophies and the Campeonato Brasileiro three times. It did not work out for him as a head coach at São Paulo, though. Ceni was appointed in December 2016 and sacked just seven months later after a wretched run of results left them struggling in the relegation zone of the Campeonato Brasileiro, while they were also knocked out of the Campeonato Paulista, Copa do Brasil and Copa Sudamericana in quick succession.