Mano Menezes has been confirmed as the new Brazil coach, the Confederation of Brazilian Football have announced.
Corinthians boss Menezes was invited to coach the five-time world champions on Friday after Muricy Ramalho earlier snubbed an approach by the CBF due to his commitments at Fluminense.
And the confederation confirmed on Saturday afternoon that Menezes had agreed to steer Brazil in the World Cup in 2014 on home soil.
A statement on the CBF website read: "Mano Menezes is the new coach of the Brazil national team.
"The professional, by accepting the invitation of president Ricardo Teixeira made in the conversation that happened last night (Friday), will have the opportunity to register his name in the history of great winners if they achieve the feat that successive generations will not be able to witness: being six-time World Cup champions in Brazil.
"President Ricardo Teixeira was satisfied with the way the conversation went, with the courage and the willingness shown by Mano Menezes to take on the great challenge, and with his commitment to carry out the changes the squad needs to succeed in the World Cup 2014.
"Even more important, according to Ricardo Teixeira, was the desire shown by Mano Menezes in arming the Brazil national team with a competitive style but which also has the "face" of Brazilian football, which can be translated by a lively football and marked by talent which the fans and members of the media are dreaming to see again."
Menezes will be unveiled on Monday at 4pm (local time) at a press conference and will also reveal the squad for his first game in charge - a friendly against the United States on August 10.
The 48-year-old replaces Dunga, whose contract was not renewed following Brazil's disappointing World Cup campaign.