Portugal ended FIFA World Cup qualifying Group F with a 3-0 win over Luxembourg in Coimbra, but face a play-off to reach Brazil 2014.
Tuesday's game had become somewhat of a formality with Portugal sat three points behind Russia, who picked up a group-winning point at fourth-placed Azerbaijan, following a disappointing 1-1 draw away to Israel on Friday.
After managing to keep Portugal out for almost half an hour, the visitors' task was made near impossible by Aurelien Joachim's red card, with Silvestre Varela and Nani hitting a quick-fire double to move Portugal ahead.
With the hosts having little to play for, Luxembourg rallied in the second half, but they were put to bed by Helder Postiga's late third.
Paulo Bento made five changes to the side held by Israel, while Nani was named captain in the suspended Cristiano Ronaldo's absence.
Requiring Russia to slip up as well as a swing in goal difference, the home side were quick out the blocks and dominated.
Visiting goalkeeper Jonathan Joubert saw Varela head over in just the third minute and had to be alert after saving Nani's long-range effort to tip away Postiga's follow-up.
Postiga had the ball in the net, but was called offside, Fabio Coentrao nodded onto the crossbar and Nani's header was fantastically saved by Joubert as Portugal turned the screw.
And the pressure seemed to get to Joachim, who was rightly dismissed on 28 minutes for a studs-up tackle on midfielder Andre Almeida.
The hosts made the advantage count just two minutes later. Joao Moutinho threaded a perfect throughball to Varela, who raced clear, took the ball away from Joubert and tapped into the empty net.
And they doubled the lead after 37 minutes with Moutinho again the creator. Nani played the ball into the Monaco man, who returned it to his captain with a neat back-heel and the winger smashed his finish into the roof of the net.
Joubert and an offside flag denied Josue and Coentrao respectively as the hosts had to settle for a two-goal buffer at the break.
The tempo dropped drastically in the second half, although Varela remained a threat on both flanks with some surging runs and dangerous crosses.
Lars Krogh Gerson had the visitors' brightest moment just after the hour mark with a sweetly struck half-volley, but it was straight at Rui Patricio.
That perhaps gave Luxembourg confidence and the Sporting Lisbon keeper was forced to scramble across his goal to see Tom Laterza's ambitious shot from the right touchline wide.
But Portugal wrapped up the win in the closing stages, substitute Hugo Almeida flicked Josue's cross to Postiga, and the Valencia striker slotted underneath Joubert to give the hosts confidence heading into November's play-offs.
|Coach: Paulo Bento|
for Miguel Veloso 58'
for Ricardo Costa 59'
for Fábio Coentrão 76'
|Lampard welcomes ´perfect´ NYCFC challenge|
|Shamrock Rovers 3 Progres Niederkorn 0: Waters at the double|
|Gerrard keen to emulate ´hero´ Beckham at Galaxy|
|UEFA Champions League Review: Red Imps make history, TNS breeze through|
|Ameobi extends Newcastle deal and heads for Cardiff|
|U.S. women celebrate World Cup victory with LA rally|
|Atletico agree Vietto deal|
|Silva appointed Olympiacos head coach|
|Presidential candidates unsure of Turan´s Barca switch|
|Toure keen to bounce back from ´disappointing´ campaign|
|El Salvador v Canada: Floro targets Gold Cup learning curve|
|Juve complete Zaza swoop|
|Costa Rica v Jamaica: Borges confident Wanchope´s men are ready|
|Marseille snare Sarr|
|Italy coach Conte to stand trial in match-fixing case|
|Castan keen to repay Roma´s faith|
|Rami thrilled to reunite with ´best coach´ Emery at Sevilla|
|Lusitans v West Ham: Tomkins seeks to silence minnows|
|Kagawa shines as Dortmund hit six in Japan|
|Alonso tips Gerrard for Galaxy glory|
|Firmino seeks self-improvement with Liverpool|
|Buffon bids farewell to Pirlo|
|Sterling named Europe´s ´most valuable´ young player|
|Casillas´ agent reveals Porto offer|
|Southampton bring in Martina|
|Dundee United accept Celtic´s Ciftci bid|
|McArthur pens new Palace deal|
|Bartomeu rules out Barca move for Pogba this year|
|Spurs have to be better now - Bentaleb|
|Milner expects central role|
|Micronesia thrashed again, this time 46-0|
|Marchisio: I cannot be Pirlo´s heir|
|Inter aiming for Champions League return - Icardi|
|UEFA Europa League Preview: Brondby and Slovan to protect handsome leads|
|Bentaleb pens new long-term deal at Tottenham|
|Barca agree Turan deal|
|FIFA bans Mayne-Nicholls|
|United States v Honduras: Klinsmann demands improvement ahead of Gold Cup opener|
|CONCACAF institutes extensive reforms in wake of FIFA corruption scandal|
|Mauri completes Milan move|
|City sign Turkey striker|
|Women´s World Cup final draws huge US TV ratings|
|My first Chelsea team better than current crop - Drogba|
|Bertrand set for lay-off after knee surgery|
|New five-year Juve deal for Marchisio|
|Allegri extends Juve contract|
|Koeman reiterates Alderweireld interest|
|Valencia bag Bakkali|
|New York City FC complete Pirlo capture|
|Panama v Haiti: Collat ready to challenge the best of CONCACAF|
|UEFA Champions League Preview: Harrison eyes TNS progression|
|FIFA sanctions Yemen for fielding ineligible player|
|Toulouse rubbish Ben Yedder exit reports|
|Mourinho ´knows what he´s doing´ with Falcao signing|
|Watford shell out club-record fee for Capoue|
|Braafheid signs Lazio extension|
|Nani finalises Fenerbahce move|
|Liverpool confirm O´Driscoll appointment|
|Liverpool have to start better - Lucas|
|USA simply too good - Sasaki|
|Portland Timbers 1 San Jose Earthquakes 0: Jewsbury wins it in stoppage time|
|No move yet for Van Persie|
|Lloyd wins Golden Ball, Silver Boot awards|
|Mascherano: I never grabbed Banega|
|Dunga requested Brazil not appeal Neymar´s suspension|
|United States 5 Japan 2: Lloyd stars with hat-trick|
|Fiorentina deny Inter criticism|
|Nani relishing Fenerbahce opportunity|