Tokyo has been chosen to host the 2020 Olympic and Paralympic Games ahead of Istanbul and Madrid.
The Japanese capital won a final round of voting by International Olympic Committee (IOC) members in Buenos Aires to beat Istanbul by 60-36 votes.
Madrid had earlier been eliminated in a first-round ballot.
The announcement was met with jubilant scenes in Japan, as Tokyo prepares to host the event for the first time since 1964.
When IOC president Jacques Rogge – who will retire after 12 years in the role on Tuesday – announced the winning city, the Tokyo delegation jumped to their feet in celebration and waved the Japan flag.
A number of them were overcome with emotion and wept, after two years of intense lobbying.
“I would like to thank everyone in the Olympic movement and we will host a wonderful Olympic Games,” a delighted Prime Minster Shinzo Abe said.
Bid leader Tsunekazu Takeda added: “It is a great honour that Tokyo has been chosen. The first thing I will do when I return is to thank all of Japan.”
London mayor Boris Johnson sent “huge congratulations to Tokyo for winning the honour of hosting the greatest sporting spectacular on the planet”.
“I am sure that, like London, your great city will put on an extraordinary event. This is a magical moment of celebration to savour before the years of hard work ahead.”
The decision means Tokyo – which campaigned with the message that “the Olympics will be safe in our hands” – will become the first Asian city to host the Games twice.
They had also been awarded the event in 1940 but the Games were cancelled because of World War II.
The success of the Tokyo bid followed a personal address from the Japanese prime minister during the presentation stage, in which he allayed fears over the crippled Fukushima nuclear plant 150 miles (240km) from the city by saying: “It has never done, and will never do any damage to Tokyo.”
The plant had been leaking radiation after an earthquake and tsunami hit the north-east of the country in 2011.
“I cannot believe it,” Japanese fencing Olympic silver medallist Yuki Ota told BBC Sport. “A thousand times I imagined Jacques Rogge opening the paper – it has become a reality.
“After the earthquake everyone in Japan was depressed but now we have to make a dream come true.”
The prime minister’s presentation also revealed the role sport had played in boosting the country in the past two years and pointed out that no Japanese athlete had failed a drugs test at an Olympics or Paralympics.
It added sponsorship would reach record levels and 10 new permanent sports venues would be constructed, including the Olympic Stadium, which will be finished by 2019 in time to host the Rugby World Cup.
For Istanbul, their campaign had not been able to overcome concerns about serious political unrest in the country, a series of doping scandals among the country’s athletes, the jailing of political opponents and journalists, plus the conflict in neighbouring Syria.
Prime Minister Recep Tayyip Erdogan had flown to Buenos Aires from the G20 summit in Russia to argue the Turkish city’s case.
But his efforts were to no avail, and Istanbul registered its fifth failed bid. If they had been successful, it would have been the first Games in a predominantly Muslim country.
In Madrid, tens of thousands of people were left dejected in the city’s Puerta de Alcala square when the news was announced it had failed for a third straight time to win the summer Games.
The Spanish capital’s presentation – which featured former Olympic sailor Crown Prince Felipe – had emphasised providing a “sensible, reliable and trustworthy” Olympics but ongoing worries about the economy undermined the bid, along with the recent Operation Puerto doping scandal.
BBC © 2013