Ivory Coast sealed qualification for the 2014 FIFA World Cup, despite a 1-1 draw in the second leg of their play-off with Senegal.
Sabri Lamouchi's side headed into Saturday's game having eased to a comfortable 3-1 win in the first leg last month, although Senegal still had half a chance by virtue of their away goal.
They completed the job with a solid performance, although they were pushed hard before finally confirming a 4-2 aggregate victory.
The second leg was played at the Stade Mohamed V in Casablanca as Senegal lost home advantage as punishment for crowd trouble in an Africa Cup of Nations play-off tie between the two sides back in October 2012.
However, that did not appear to affect them, and they dictated play for the majority of the game as they looked to qualify for the World Cup finals for the first time since 2002.
For all their pressure, though, it took Senegal until the 77th minute to make the breakthrough, Moussa Sow's penalty giving Alain Giresse's side brief hope.
But the crucial second goal did not arrive, and their hopes were finally killed off when Salomon Kalou struck in injury time to send Ivory Coast to next year's finals in Brazil.
Senegal coach Giresse made five changes to the side that lost the first leg, with midfielders Salif Sane and Sadio Mane among those to come into the side as the likes of Sow and Mohamed Diame dropped to the bench.
Cheick Tiote and Geoffrey Serey Die both missed out due to suspension for Ivory Coast, who maintained a front three of Gervinho, Kalou and Didier Drgoba.
Giresse's men made the better start, but it took them until the 14th minute to create the game's first real chance as Newcastle United striker Papiss Cisse saw his goalbound header hooked away by Drogba.
Ivory Coast continued to defend well despite sustained pressure from Senegal, who were reduced to largely speculative efforts from range in what was a frustrating first half from their perspective.
Senegal pressed forward with renewed energy after the interval, and Cisse was involved again as he broke through on goal following some poor defending, only for Boubacar Barry to block his close-range effort with his feet.
Lamouchi's side struggled to get a foothold in the game throughout, and they were continually grateful for Senegal's profligacy, which was showcased agains as Dame N'Doye curled a free-kick wide from the edge of the area.
However, 13 minutes from time Giresse's men were offered a lifeline when Drogba pulled down Mane in the area, allowing Sow to step up and convert from the spot.
Senegal failed to create further momentum, though, and they were caught on the counter in the final minute of injury time, Kalou steering home to send Ivory Coast to their third consecutive World Cup.
|Ronaldinho to leave Atletico Mineiro|
|Lorient capture Ayew|
|Celtic loan Berget, sell Watt|
|Pires signs up for Indian Super League|
|Allegri set for early San Siro reunion in maiden Juve campaign|
|Bakayoko makes Monaco move|
|Bakayoko makes Monaco move|
|Lens granted Ligue 1 place|
|UEFA Champions League Preview: Red-hot Salzburg face Qarabag|
|Parma bring in Cassani from Fiorentina|
|De Vrij set for Lazio|
|BREAKING NEWS: Everton complete Besic signing|
|Kongolo pens Feyenoord extension|
|Redknapp confirms Granero exit|
|Advocaat confirmed as Serbia coach|
|CSL Preview: Henan aim to escape drop zone, Liaoning host Guangzhou RandF|
|Arribas makes Sevilla switch|
|Chambers joins Arsenal|
|Ospina buoyed by Arsenal recruitment|
|Liverpool´s loss is our gain, says Redknapp on Remy|
|Ferdinand: I would still be at United with Giggs in charge|
|Pepe targets Super Cup glory|
|Martinez prioritising striker signing|
|Perez not looking to leave Benfica|
|Klopp itching to work with full Dortmund squad|
|Mourinho: It feels like Drogba never left|
|FIFA asks for FIGC review into alleged racist remark|
|Hull to review Maguire deal|
|Wenger prepared to gamble on Chambers|
|Atletico agree Griezmann deal|
|Irvine planning further striker addition|
|Campbell: Black professionals scared to talk about racism|
|Mata backs Herrera to star in Premier League|
|Injured Rafael returning to Manchester|
|Schmidt demands more from Leverkusen|
|Copa Libertadores Preview: Defensor Sporting banking on home record|
|Remy´s Liverpool move off, confirms Rodgers|
|Inzaghi demands nastiness from Milan|
|MLS Review: Timbers triumph in Montreal, Dallas thwart Vancouver|
|Jovetic ready to lead City line - Pellegrini|
|Lewandowski impresses Ribery, Alaba|
|Colombian Primera A Review: Three clubs remain perfect, Atletico Nacional get off the mark|
|Rodgers: ´We can score goals´ without Suarez|
|Chilean Primera Division Review: Canales brace powers Universidad Chile|
|Atletico Madrid need penalties to edge past Earthquakes|
|Liga MX Review: Monterrey, America stay perfect|
|Paraguayan Primera Division Review: Capiata set pace|
|Brazilian Serie A Review: Cruzeiro win again, Kaka scores|
|Sterling goal sees Liverpool past Olympiacos|
|Peruvian Primera Division Review: Los Caimanes notch maiden win, Inti Gas claim top spot|
|CAF Champions League Review: Zamalek held, Vita Club leave it late|
|Jovetic at the double as Manchester City thrash Milan|
|Monk thrilled by Sigurdsson contribution|
|Lovren signs for Liverpool|
|Mourinho pleased with Olimpija test|
|Vertonghen eager to remain at Spurs|
|Sigurdsson marks Swansea return with a brace|
|Lewandowski, Rode help Bayern retain Telekom Cup|
|Immobile scores and suffers injury in Dortmund win|
|Costa scores on Chelsea debut|
|CAF Confederation Cup Review: Leopards de Dolisie 1 Real Bamako 2|
|Thai Premier League Review: Buriram pull clear, Police edge away from danger|
|Falcao nears Monaco return|
|CSL Review: Harbin Yiteng produce another upset, Evergrande stretch lead|
|Britton and Emnes to miss season-opener|
|Taylor-Fletcher strike sinks Everton|
|J.League Review: Chasing pack close on Urawa Reds, Tokushima Vortis secure rare win|
|Ancelotti expects fresh Bale to be even better|
|Simeone keen on Griezmann|
|Mazzarri refuses to set Inter targets|
|Lazio director targeted by fans|
|Dyche rules out Deeney move|
|Rummenigge: Bayern will never sack Guardiola|
|BREAKING NEWS: Arsenal to bring in Ospina|
|Pochettino quiet on Schneiderlin link|
|Vidic settling into Inter life|
|Van Gaal hints at Zaha United future|
|Di Maria will report for training - Ancelotti|
|Wilshere vows to answer critics|
|Rodgers expecting titles|
|Deila demands Celtic cutting edge|
|Rodgers: We won´t rush Lallana|
|Wenger: We have to be better against top-level teams|
|FIGC presidential candidate uses racist slur|
|MLS Review: Columbus claim second straight win, Toronto falter|
|Villa battle past Dynamo in Houston|
|United more efficient, says Garcia|
|Pedestrian Tottenham edge past Chicago Fire|
|Van Gaal bemoans display|
|CS Sfaxien 1 ES Tunis 0: Troussier era opens with a win|
|Icardi stars from the spot as Inter overcome Real Madrid|
|Arsenal upstaged by Red Bulls|
|Pre-Season Friendly Review: Rooney stars for United, Bayern reach Telekom final|
|In-form Rooney inspires Manchester United win|