Macky Sall’s supporters took to the streets to celebrate. EPA.

(JollofNews) – Senegal’s President Macky Sall has won a second term, of five years, following Sunday’s election.

He took 58% of the vote in the poll in which he faced four challengers, but was accused of preventing some of his main rivals from running.

Two well-known opposition figures were barred from taking part because of corruption convictions.

The opposition candidates have rejected the results, but say a court challenge would be futile.

Idrissa Seck, a former prime minister who came second with 21% of the votes, discussed the results at his home with the three other opposition candidates.

Afterwards, he told reporters: “It is clear that the incumbent candidate has confiscated the will of the Senegalese people and will be alone to face the consequences before the people and before history.”

Mr Sall was first elected in 2012. On the campaign trail, he focused on his record with infrastructure projects.

He has portrayed himself as a moderniser who has helped to boost economic growth to more than 6% a year, one of the highest rates in Africa.

Khalifa Sall (no relation to the president), the popular former mayor of Dakar, and Karim Wade, the son of a former president, were unable to run after being found guilty of corruption.

As a result, neither the Socialist Party nor the Senegalese Democratic Party, which have dominated the country’s political landscape since independence, fielded presidential candidates.

In all, only five candidates were on the ballot paper, compared to 12 in the last election.

More than 6.6 million people were registered to vote in Sunday’s election, including some residents living abroad, and 66% turned out to cast their ballots.

Candidates have 72 hours to challenge the provisional results in court. The Constitutional Court will review any petitions and declare definitive results in the coming days.

Voting was calm on Sunday, and international observer missions signalled no major issues.

Senegal is one of the most stable democracies in Africa and has a history of peaceful elections.

Mr Sall’s first term in office was marked by the completion of a host of large infrastructure projects, including a new airport and new highways.

However, the BBC’s Gaius Kowene in Dakar says that job creation and development, in particular in education and healthcare, were high on voters’ lists of concerns.

The average age in Senegal is just 19.