A stoppage time penalty from Klaas-Jan Huntelaar gave the Netherlands a dramatic 2-1 victory over Mexico in the second round of the World Cup on Sunday minutes after the Mexicans had seemed certain to reach the quarter-finals.
With two minutes to play Mexico were leading 1-0 but Wesley Sneijder pulled the Dutch level with a fierce drive, seemingly forcing the match into extra time.
Then, in stoppage time at the end of 90 minutes, Mexico captain Rafael Marquez was judged to have tripped Arjen Robben in the penalty area and Huntelaar converted the spot kick to take the Dutch through.
They will play either Greece or Costa Rica in Salvador next Saturday and will fancy their chances of making the last four.
It was a cruel ending for Mexico, who dominated much of the match and took the lead just after the break through forward Giovani Dos Santos.
He chested the ball down 30 metres from goal before firing a low left-foot shot into the bottom corner of the net.
The Dutch almost equalised 10 minutes later when their big centre back Stefan De Vrij forced a brilliant reflex save from Guillermo Ochoa. The keeper parried the effort on to his left hand post and his defenders cleared it to safety.
The Dutch victory follows their swashbuckling performances in the group stage as their quest for a first World Cup title goes on.
For the Mexicans, defeat meant more second-round heartache.
They have now reached the last 16 at six consecutive World Cups and have lost every time.