Former military ruler Muhammadu Buhari has become the first opposition candidate to win presidential elections in Nigeria.

Gen Buhari's party said his opponent, incumbent Goodluck Jonathan, had admitted defeat and congratulated him.

The BBC's Andrew Harding said the victory was a "defining moment" for the country.