Brazil progressed to the semifinals of the London 2012 football tournament with a battling 3-2 win over nine-man Honduras.
Honduras took a surprise lead when Mario Martinez chipped home from close range, before Damiao prodded into an empty net to level. The Central Americans re-took the lead through Roger Espinoza before a Neymar spot-kick and a second from Damiao earned the Brazilians the victory.
Brazil made the faster start to proceedings and should have taken the lead 30 seconds into the game, when Leandro Damiao struck well wide when one-on-one with the Honduras keeper Jose Espinoza.
The Selecao was made to pay for its profligacy on 12 minutes when Martinez lobbed Brazil keeper Gabriel and give the underdogs the advantage after a challenge on Maynor Figueroa had allowed the ball to squirm into his path.
Honduras' task increased in difficulty midway through the first period when Wilmer Crisanto was sent-off after collecting two bookings in the space of two minutes, the defender was first cautioned for a clumsy challenge on Hulk, before being shown the red card for a mistimed tackle on Neymar.
Los Catcharos were made to pay for Crisanto's indiscipline five minutes later, as Brazilian levelled when Hulk broke free down the right hand side of the box before cutting the ball back into the path of Daimao who prodded into an empty net from close range.
The two sides headed to the interval on level terms, but the stalemate did not last long, as three minutes into the second half, Espinoza cut in from the right hand side before an unleashing a curling effort that flew past a helpless Gabriel to put the Central Americans back in front.
Honduras' lead lasted only two minutes, however, as Neymar restored parity from the penalty spot after Jose Velasquez tripped Damiao inside the area following a poor pass from Figueroa.
After a brave display, the 10 men of Honduras began to wilt slightly, and the Brazilians finally took the lead when Neymar played in Damiao, who turned excellently inside the area before powering an effort past Mendoza and into the bottom corner.
Chances soon became few and far between as the game developed into a scrappy encounter with multiple yellow cards shown to players from both sides.
Honduras' numerical disadvantage had began to tell as the game limped to its conclusion, and right on 90 minutes Espinoza was sent off for a second yellow card for a cynical trip on Oscar.
That dismissal ended any hopes the Hondurans had of mounting a comeback, but Luis Suarez's men can be mightily proud of an effort that has seen them defeat Spain and give the tournament favorite an extremely large scare.