Answer
Dunga first became Brazil's head coach in 2006. He was appointed to the position after Brazil's disappointing performance at the 2006 FIFA World Cup, where they were eliminated in the quarter-finals by France. Dunga's first stint as head coach lasted until 2010, when he resigned after Brazil's elimination from the 2010 FIFA World Cup in the quarter-finals by the Netherlands.