Former army chief Abdel Fattah al-Sisi has won 96.9% of votes in Egypt's presidential election, the electoral commission announced.
The result comes almost a year after he overthrew elected Islamist leader Mohammed Mursi.
Turnout in last week's election, which was hastily extended to three days amid fears of low turnout, was 47.45%, said commission chief Anwar Rashad al-Asi.
Mr Sisi's rival Hamdeen Sabbahi won just 3% of the vote, excluding spoiled ballots.
The lopsided victory had been certain, with many lauding the retired field marshal as a hero for ending Mr Mursi's divisive rule in July.
Yet the lower-than-expected turnout, Mr Sisi himself had called for much more voters to come out, signalled that a wide segment of the population was apathetic or boycotted the election.
Mr Mursi's Muslim Brotherhood, crushed by a massive crackdown following his overthrow and detention, had boycotted the vote.
Some journalists and government employees erupted in applause and began dancing as the final results were announced at a press conference this afternoon.