Nigerians are so used to the idea that an incumbent should win the presidential election that President Goodluck Jonathan's failure to beat Gen Muhammadu Buhari needs some explaining.
Here are five reasons why the opposition won:
Past elections have been marred by serious irregularities and suspicions of rigging. In 2007 observers said the presidential poll was not "credible". In 2011 the vote was considered to be better run but observers said that rigging and fraud still took place.
This time the electoral commission took more steps to prevent rigging, including new biometric voters cards.
Also President Jonathan's party, the People's Democratic Party (PDP), had lost control of some key states which meant it could not control the electoral process there.
The election took place against the background of an Islamist insurgency in the north-east of the country. The Boko Haram militant group has killed 20,000 people and forced some three million others from their homes and President Jonathan was criticised for not getting to grips with this.
The poll was delayed for six weeks to give time for the security situation to improve, but even though most areas controlled by Boko Haram were recaptured, it seems to have come too late for many people.
Nigeria is Africa's biggest oil producer and its largest economy, but many fail to feel the benefits with nearly half the population living below the poverty line. Continued corruption is seen as partly being to blame.
National income is due to grow by more than 5% this year and next year, but people did not seem in the mood to thank Mr Jonathan for this.
APC supporters chanted "change" wherever they went and it seems to have caught the mood. The PDP has been in power since the end of military rule in 1999, and 2015 is the year that Nigerians decided that someone else should have a go at sorting things out.
President-elect Buhari now has to prove he can really change things.
H/T - BBC.com/Africa