Ancelotti will become the first foreign boss of the Brazil men's team and will take up his post at the end of the month.
Carlo Ancelotti will leave Real Madrid at the end of the season to become the new head coach of Brazil.
The Italian has been one of the Spanish club's most successful managers - winning 15 trophies across two spells.
Ancelotti will become the first foreign boss of the Brazil men's team and will take up his post at the end of the month.

Alcaraz Withdraws From Wimbledon Due To Wrist Injury
Graeme McDowell To Make His First Major Appearance In Six Years Next Month
Three Of The Irish Provinces To Kick Off The New Season At Home In September
Tuesday Morning Sports Update
All Ireland Football Championship Opening Round Fixtures Confirmed
Tommy O'Brien Among Injury Doubts For Leinster's Champion Cup Final On Saturday
Monday Morning Sports Update
Sunday Evening Sports Update