COPENHAGEN -- Finally, South America gets an Olympics. The 2016 Games are going to Rio de Janeiro.
In a vote of high drama, the bustling Brazilian carnival city of beaches, mountains and samba beat surprise finalist Madrid, which got a big helping hand from a very influential friend.
Chicago was knocked out in the first round -- in one of the most shocking defeats ever in International Olympic Committee voting. Even Tokyo, which had trailed throughout the race, did better -- eliminated after Chicago in the second round.
Speaking from the White House on Friday, President Barack Obama said he has "no doubt" Chicago put together the strongest bid it could to win the right to host, adding he wished he had brought back better news from the voting in Copenhagen, where his personal appeal did not help his adopted hometown win.
Obama said he had called the president of Brazil to congratulate him.
Rio spoke to the IOC members' consciences: The city argued that it was simply unfair that South America has never hosted the Games, while Europe, Asia and North America have done so repeatedly.
"It is a time to address this imbalance," Brazil's charismatic president, Luiz Inacio Lula da Silva, told the IOC's members before they voted. "It is time to light the Olympic cauldron in a tropical country."
The final result was decisive: Rio beat Madrid, 66 votes to 32. Chicago got just 18 votes in the first round, with Tokyo squeezing into the second round with 22. Madrid was leading after the first round with 28 votes, while Rio had 26.
In the second round, Tokyo was eliminated with just 20 votes. Madrid got 29, qualifying it for the final-round faceoff with Rio, which by then already had a strong lead, with 46 votes.
Rio is only the second country in the Southern Hemisphere to host the Games -- Australia, which has hosted twice, is the other -- and finally won after failed attempts to host in 1936, 2004 and 2012.
Silva, a bearded former union leader, disappeared into a huge group hug with the joyous Rio team after IOC president Jacques Rogge announced the city's name. Football great Pele had tears in his eyes. On Rio's Copacabana beach, where the city will hold beach volleyball in 2016, the crowd of nearly 50,000 people roared. The party there was expected to go on well into the night.
Brazil now will hold the world's two biggest sporting events in the space of just two years: In 2014 it will stage the World Cup, and Rio will host the final.
The slap to Chicago was such that some IOC members were left squirming. The city's plans for Olympic competition along its stunning Lake Michigan waterfront had long made it a front-runner and earned support from the highest possible level -- Obama himself. First lady Michelle Obama flew in two days before the vote to butter up IOC members, an essential part of the selection process. And Obama himself flew in Friday morning.
IOC members had seemed wowed, posing for photos with Mrs. Obama and taking souvenir shots of the president with their mobile phones. But, in the vote, Chicago was shunned.
"Either it was tactical voting, or a lot of people decided not to vote for Chicago whatever happened," IOC member Gerhard Heiberg said. "Nobody knows, but everybody is in a state of shock. Nobody believes it. I'm very sorry about it."
Rio's bid, while high on romance, is not without risk. Because of Rio's high crime and murder rates, security will be a constant issue in 2016. Preparing Rio for the Olympics will cost billions of dollars -- money that critics said could have been better spent on tackling the city's social problems.
But the lure of that untapped frontier proved too strong for the IOC to turn down.
"We have sent out a message that we want to go global," Heiberg said.
Now, Africa and Antarctica are the only continents never to have been awarded an Olympics.
Madrid's surprising success in reaching the final round came after former IOC president Juan Antonio Samaranch made an unusual appeal for the Spanish capital, reminding the IOC's members as he asked for their vote that, at age 89, "I am very near the end of my time."
Samaranch ran the IOC for 21 years before Rogge took over in 2001.
Obama himself spent only a few hours in the Danish capital and left before the result was announced. Former IOC member Kai Holm said that the brevity of his appearance may have counted against Chicago.
The short stopover was "too business-like," Holm said. "It can be that some IOC members see it as a lack of respect."
Senior Australian IOC member Kevan Gosper surmised that Asian voters may have banded together for Tokyo in the first round, at Chicago's expense.
"I'm shocked," Gosper said. "The whole thing doesn't make sense other than there has been a stupid bloc vote."
He worried that the shock exit could do "untold damage" to the already testy relations between the IOC and the U.S. Olympic Committee. They had recent flare-ups over revenue sharing and a USOC TV network.
"To have the president of the United States and his wife personally appear, then this should happen in the first round is awful and totally undeserving," Gosper said.
Added Dennis Oswald, another member: "It was a defeat for the USOC, not for Chicago."
The biggest bloc of voters on the IOC -- 46 -- are Europeans.
An uncomfortable moment came during Chicago's presentation when an IOC member from Pakistan, Syed Shahid Ali, noted that going through U.S. customs can be harrowing for foreigners. Obama responded that he wanted a Chicago games to offer "a reminder that America at its best is open to the world."
But the IOC's last two experiences in the United States were bad: The 2002 Salt Lake City Winter Olympics were sullied by a bribery scandal and logistical problems and a bombing hit the 1996 Games in Atlanta.
Obama had held out the enticing prospect of a Chicago Games helping to reconnect the United States with the world after the presidency of George W. Bush. He told the IOC earlier Friday that the "full force of the White House" would be applied so "visitors from all around the world feel welcome and will come away with a sense of the incredible diversity of the American people."
Now, Chicago can only rue what might have been. And Obama's gamble of expending his own political capital on the bid ended in failure.
The last U.S. city to bid for the Summer Games, New York, did scarcely better. It was ousted in the second round in the 2005 vote that gave the 2012 Games to London.
Tokyo did better than many expected by reaching the second round. It had offered reassurances of financial security, with $4 billion already banked for the Games.
But the fact that the Olympics were held only last year in Asia, in Beijing, handicapped the Japanese capital's bid.
Its plans for a highly compact Games, sparing athletes tiring travel by holding all but one event within 5 miles of the city center, were technically appealing. But the bid failed to generate real enthusiasm, even in Japan. Tokyo had the lowest public backing in IOC polls.
Tokyo's final presentation Friday to the IOC, while smooth and heartfelt, lacked the buzz that the Obamas and Rio generated. Tokyo was simply overshadowed, failing to convince IOC members that it really wanted or needed the Games.
Information from The Associated Press and Reuters was used in this report.