Former Real Madrid attacking midfielder Kaka has welcomed Carlo Ancelotti following his appointment as the new head coach of the Brazil national team with a heartfelt message on social media.

The Brazilian football legend, who played under Ancelotti at AC Milan, shared the announcement on his Instagram story with the caption: "Welcome, Mister Ancelotti! May God bless you!"

The Brazilian Football Confederation (CBF) confirmed the appointment in an official statement, saying: "The CBF is proud to confirm that Carlo Ancelotti will become the next head coach of the Brazilian national football team." According to the announcement, Ancelotti will take over the role later this month.

Ancelotti, 65, is widely regarded as one of the most successful managers in football history. During his two stints with Real Madrid, the Italian tactician won an impressive 15 trophies, cementing his legacy as the most successful manager in the Spanish club's illustrious history.

However, his departure from Real Madrid comes after a challenging season for the Spanish giants. The team lost both the Copa del Rey and the Supercopa de España finals to Barcelona and was eliminated from the Champions League quarterfinals by Arsenal.

Following Sunday's 4-3 El Clasico defeat to Barcelona, Real Madrid now sits seven points behind their rivals in the LaLiga table with just three matches remaining, making a league title increasingly unlikely.

Ancelotti's appointment marks a significant moment for Brazilian football, as the five-time World Cup champions look to return to their former glory under the guidance of one of the sport's most decorated coaches.

The Italian becomes the second foreign coach to lead the Seleção in recent years, following in the footsteps of Portuguese manager Luiz Felipe Scolari, who guided Brazil to their last World Cup triumph in 2002.