Prime Minister Viktor Orban's 16-year grip on power in Hungary has ended, with opposition leader Peter Magyar winning a crucial two-thirds majority in the 199-member parliament.
The fall of Orban, a far-right ally of Donald Trump, arrives at a moment of crisis at home, where Trump's support is splintering over the Iran war.
Trump's administration had staked its diplomatic prestige on keeping Orban in office, with Vice President JD Vance flying to Budapest for a campaign rally.
However, Trump's standing at home is deteriorating, with some of his most loyal voices rebuking him over the war, and his approval rating among independent voters falling to just 28%.
The Iran war has cracked open fissures in the MAGA coalition, with some voices against Trump's support for Israel, and his top intelligence aide Joe Kent quitting last month.