Brasilia - Dutch goalkeeper Tim Krul was the hero as the Netherlands beat Costa
Rica on Saturday to seal a showdown with Argentina in a heavyweight Soccer World Cup
As it happened: Netherlands v Costa Rica
Netherlands coach Louis van Gaal stunned onlookers at Salvador's Fonte Nova Arena by bringing on Krul to replace Jasper Cillessen in the final seconds of extra-time after 120 minutes had finished deadlocked at 0-0.
But van Gaal's audacious move paid dividends as Newcastle keeper Krul saved Costa Rican penalties from Bryan Ruiz and Michael Umana to send the Dutch through the last four.
The Netherlands will now play Argentina on Wednesday for a place in the July 13 final after hosts Brazil face Germany in Belo Horizonte on Tuesday.
The team had won only one penalty shootout in five previous attempts at major championships.
But penalty takers Robin van Persie, Arjen Robben, Wesley Sneijder and Dirk Kuyt all made no mistake from the spot to beat Costa Rica goalkeeper Keylor Navas.
"It's a dream come true for me," said Krul. "I watched the penalties. We've been preparing with all the goalkeepers and the goalkeeper coach."
Van Gaal later said Krul was introduced because he could have a better chance of success in a shootout.
"Every keeper has specific qualities and we felt that he had a better reach, and a better track record to stop penalties," van Gaal said.
"We'd discussed it with Tim, how Costa Rica would shoot their penalties, their sequence. So he was prepared.
"Fortunately it worked out, because if it hadn't worked out, I would have taken the wrong decision.
"That's usually how it works out in football."
The unforgettable shootout drama came after a gritty duel that saw the Netherlands dominate for long periods without being able to score.
Sneijder came closest, twice hitting the woodwork in normal and extra-time.
The win means the Netherlands are set for another chapter of their World Cup rivalry with Argentina, which includes the 1978 final won by the South Americans.
Argentina advanced to the semi-final for the first time in 24 years on Saturday after a Gonzalo Higuain strike secured a 1-0 win over Belgium.
Napoli striker Higuain lashed in an instinctive first time shot after eight minutes as Belgium's hopes of qualifying for the last four wilted in Brasilia.
Argentina's win snapped a run of two successive World Cup quarter-final exits following failures against Germany in 2006 and 2010.
It is the first time the South Americans have qualified for the last four since the 1990 finals in Italy.- 'A complete match' -
"We produced a very complete match. We weren't able to create that many chances, but they didn't make that many clear chances either," Argentina captain Lionel Messi said.
Argentina have now won all five of their matches at the tournament, but they laboured in the group phase and were criticised for a lacklustre display in their 1-0 victory over Switzerland in the last 16.
Beaten coach Marc Wilmots dismissively branded Argentina "an ordinary team with one extraordinary player" after the game, but Messi appeared similarly unimpressed with Belgium.
"All they had were long-range shots," he said.
"They have a lot of tall players but couldn't do anything with them. We didn't give them space. The most important thing here is that we won and we got through."
Messi said that he and his teammates took great pride in matching the achievement of Diego Maradona's 1990 side by reaching the last four.
"This is amazing," he said. "We knew it was going to be difficult.
"Argentina have gone a long time without doing this, and it was us who crossed the frontier."
Wilmots paid tribute to his young side - and delivered a withering verdict on Argentina.
"We made some very small mistakes, but we learnt a lot tonight. We're very disappointed, everyone is very down, but I'm very proud of the boys," he said.
"But I'm not at all impressed by Argentina. They're a very ordinary team with one extraordinary player," he said, referring to Messi.
A hard-fought contest at the Mane Garrincha National Stadium was settled in the opening skirmishes.
A ball from Real Madrid's Angel di Maria deflected off Belgium defender Jan Vertonghen and fell invitingly into the path of Higuain, who rifled a shot past Thibaut Courtois.