The victory writes a new chapter in the country's often turbulent history after six military coups since independence in 1960 and 16 years of unbroken civilian rule by Jonathan's party.
The gripping contest also capped a remarkable transformation for 72-year-old former army general Buhari, who led a tough military regime in the 1980s but now describes himself as a "converted democrat".
Thousands spilled onto the streets of northern Nigeria's biggest city, Kano, in celebration, shouting campaign slogan "Sai Buhari" ("Only Buhari") as he took an unassailable lead with one state to declare.
In another northern city of Kaduna -- the scene of rioting after the 2011 presidential election -- supporters of his All Progressives Congress (APC) chanted: "Change! Change!"
The Independent National Electoral Commission (INEC) said Buhari won 15,424,921 votes, or 53.95 percent, of the 28,587,564 total valid ballots cast.
Rival Jonathan, 57, of the Peoples Democratic Party (PDP), won 12,853,162 votes (44.96 percent) in the election held Saturday and Sunday.
INEC chairman Attahiru Jega said: "Muhammadu Buhari, of the APC, having satisfied the requirement for the law and scored the highest number of votes, is hereby declared the winner and is returned elected."
But with dissatisfaction rife over Nigeria's security, corruption and the economy faltering as oil revenues dived, voters turned out in force sensing an unprecedented opportunity for change.
In the financial hub of Lagos, in the southwest, Buhari supporters celebrated wildly, some of them on horseback, with fireworks exploding into the night.
"This is the first democratic change ever in Nigeria," Anas Galadima told AFP, as thousands thronged the APC headquarters in the capital Abuja, dancing and banging drums.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
