Nyon - Germany on Thursday won the race to host the 2024 European Championship as UEFA backed a bid seen as safer than a rival proposal from Turkey.
Politics, national unity and respect for human rights in Turkey emerged as key themes in the campaign to host Europe's premier international football event.
In the end the result was not close, with Germany winning the vote among UEFA's executive committee members by a margin of 12-4 with one abstention.
UEFA considered that the German bid already had everything in place to host a successful event - from stadiums to infrastructure and hotels.
"We will do our utmost to live up to our expectations," German Football Association (DFB) president Reinhard Grindel said after the winner was announced at UEFA's lakeside Swiss headquarters.
Germany hosted the World Cup in 2006, but has never staged the Euro as a unified country: West Germany hosted the competition in 1988.
Thursday's win also offers a boost to German football after a disastrous 2018 World Cup, when the country failed to qualify for the last 16 - after winning the tournament in 2014.
European football's governing body has also said it wants to make as much money as possible from the 2024 tournament and Germany was considered the better financial bet.
But Germany did not just pitch itself as a steady hand that can host a lucrative tournament without a hitch - it has also voiced hope that a tournament on its soil could build societal unity.
After the World Cup debacle, German football was engulfed in an ugly ordeal by Arsenal star Mesut Ozil's retirement from international football.
Ozil, born in Germany to Turkish parents, accused the DFB of racism after he was targeted with xenophobic comments for being photographed with President Recep Tayyip Erdogan before the World Cup.
German foreign minister Heiko Maas said the 2024 tournament "will be an opportunity to show what we stand for in Germany: openness to the world and tolerance, freedom and respect.
"Together, we have to make the European Championship a tournament for all Europeans," he added in a statement.
Germany's head coach Joachim Loew called the win "exceptional."
"You could feel the tension," he added. "We will do everything now to deliver an awesome European championship."
The polarising Turkish president had desperately wanted to deliver a first major sporting event to his football-mad nation.
His government has spent heavily on football infrastructure including gleaming new stadiums and pitched itself as "a land bridging continents."
Ultimately, it proved to be not enough and Erdogan's increasingly authoritarian reputation likely did not help his cause.
Rights groups have decried the unprecedented crackdown and thousands of arrests that followed a failed 2016 coup.
UEFA's evaluation report noted that "the lack of action plan in the area of human rights is a matter of concern."
By extraordinary coincidence, the Turkish leader arrived in Germany on Thursday for a three-day state visit, including talks with Chancellor Angela Merkel.
The Euro 2024 result - aside from likely making interesting banter between the two leaders - may well be a bitter personal defeat for Erdogan, who has sought to build a reputation as a man who can deliver.
Turkish Sports Minister Muharrem Kasapoglu called the UEFA vote "saddening" in comments carried live on state television.
"It would have been a winning situation to be able to hold this event in this geography, on these lands (in Turkey)," he added. "But our country has lost nothing."