South Korea booked their place in the last 16 after beating 9-man Portugal 1-0 in Incheon today.
South Korea will now meet Italy in Daejeon on June 18 after Park Ji Sung scored the goal that secured top spot for the co-hosts.
Two reds cards for Joao Pinto and Beto gave Portugal a mountain to climb - and Korea used their numerical advantage to full effect.
Portugal, overwhelming favourites at the start of the tournament to top Group D, followed France and Argentina as the latest big name to tumble out of the World Cup at the first stage.
This was a unforgettable occasion, with 50,000 red-shirted Koreans singing in unison and cheering every positive move by their side, however small, to the rafters.
Apart from that, the football was generally forgettable until nine-man Portugal staged a desperate late bid to rescue their tournament, leaving gaping gaps at the back.
In the early exchanges Lee Young Pyo upped the crowd volume a couple of notches when he flashed a shot a couple of feet over from distance, then Yoo Sang Chul pulled a low left-footed shot wide of a post from 25 yards.
Portugal were struggling to create anything positive, and with Korea hunting in packs in midfield, put their faith in counter-attacks.
Their task was made much tougher after Pinto was red-carded for jumping in high on Park Ji Sung in the 27th minute. Pinto rounded on Argentinian referee Angel Sanchez after being shown the card, and only the intervention of some of his team-mates prevented the incident from becoming nasty.
At one stage Portugal captain Fernando Couto had his hands on the referee's face, though it seemed he was merely trying to calm the situation.
Towards the end of the first half, Luis Figo finally contrived an opportunity for Portugal. Figo's through-ball found Pauleta sprinting through the middle, but the man who hit a hat-trick in Portugal's last game was hopelessly wide of the mark from the edge of the box.
Early in the second half, Seol sent a header from a free-kick six inches past the top corner of the Portuguese goal.
In the 66th minute, Portugal were down to nine men when Beto was cautioned for a late lunge on Lee Young Pyo and, having been booked earlier, was sent off.
Four minutes later, Korea took the lead with a splendid individual goal by Park, a 21-year-old midfielder who plays his club football in Japan.
Park, lurking on the corner of the six-yard box, controlled a 30-yard pass on his chest, hooked the ball over Sergio Conceicao and struck it on the half-volley through Baia's legs to score.
Substitute Nuno Gomes had a wonderful chance to stab home an equaliser from close range, but the ball got stuck under his feet and Lee Woon Jae was able to save.
Baia made three tremendous blocks, from Song Chong Gug, Ahn and Seol, before Sergio Conceicao struck the inside of the post with a scissors-kick with a minute remaining.
At the final whistle Portugal's nine men collapsed in utter desolation as the party began in Incheon and Seoul.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article