Nigeria's president and his top challenger in Saturday's election have renewed a pledge of peace ahead of a vote marked by heated accusations that have alarmed some observers.

President Muhammadu Buhari, who seeks a second term, and former Vice President Atiku Abubakar on Wednesday vowed to contribute to a free and fair election in Africa's most populous country and refrain from "religious incitement" or ethnic profiling.

More Images
Supporters discuss next to a campaign banner showing incumbent President Muhammadu Buhari, left, and Vice President Yemi Osinbajo at a party campaign office in the capital Abuja, Nigeria, Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16. (AP PhotoBen Curtis)

Nigeria's president and his top challenger in Saturday's election have renewed a pledge of peace ahead of a vote marked by heated accusations that have alarmed some observers.

Banners showing incumbent President Muhammadu Buhari hang down from a party campaign office in the capital Abuja, Nigeria, Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16. (AP PhotoBen Curtis)

In this campaign the top two parties have hurled accusations of vote-rigging plots.

A schoolgirl rips down a campaign poster for opposition presidential candidate Atiku Abubakar as she and her friend walk over a highway bridge near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

The push for candidates to publicly renew their peace pledge, first made in December, picked up in earnest in recent days after the governor of Kaduna state declared on television that anyone who came to Nigeria to intervene in the election "would go back in body bags."

A street seller sells his wares by the side of the road next to a campaign poster for opposition presidential candidate Atiku Abubakar, at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

The ruling party objected to the ambassador's remarks, issuing a statement saying that he "seeks to shrink our ambit of free speech so that we may behave in accordance with their vision of well-behaved Africans."

A street seller gestures to the camera as he sells his wares by the side of the road at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A street seller gestures to the camera as he sells his wares by the side of the road at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A customer, right, buys fruit from a street seller by the side of the road at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A customer, right, buys fruit from a street seller by the side of the road at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

The faces of incumbent President Muhammadu Buhari and Vice President Yemi Osinbajo are seen on partially-ripped campaign posters fixed to the pillars of a highway bridge near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

The faces of incumbent President Muhammadu Buhari and Vice President Yemi Osinbajo are seen on partially-ripped campaign posters fixed to the pillars of a highway bridge near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A supporter of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party, sells election campaign accessories during a rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

A supporter of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party, sells election campaign accessories during a rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party, attend an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party, attend an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party attends an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party attends an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party and Ogun State governor aspirant, Ladi Adebutu, attend an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party and Ogun State governor aspirant, Ladi Adebutu, attend an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Past elections in Nigeria have been marked by deadly violence, though the previous vote in 2015 was relatively calm. It saw the first defeat of an incumbent and first democratic transfer of power between parties.

Supporters discuss next to a campaign banner showing incumbent President Muhammadu Buhari, left, and Vice President Yemi Osinbajo at a party campaign office in the capital Abuja, Nigeria, Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16. (AP PhotoBen Curtis)

Supporters discuss next to a campaign banner showing incumbent President Muhammadu Buhari, left, and Vice President Yemi Osinbajo at a party campaign office in the capital Abuja, Nigeria, Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16. (AP PhotoBen Curtis)

In this campaign the top two parties have hurled accusations of vote-rigging plots.

With just a few days left before the vote, troubles have multiplied. Nigeria's election commission reported that one of its offices had burned with more than 4,600 smart card readers meant to be used in the voting "destroyed in the inferno." This is the third such fire in the past two weeks.

Four people were crushed to death in a stampede on Tuesday during a ruling party rally in Rivers state in the south, seen as one of the potential hotspots of election violence, according to Nigerian media reports.

Banners showing incumbent President Muhammadu Buhari hang down from a party campaign office in the capital Abuja, Nigeria, Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16. (AP PhotoBen Curtis)

Banners showing incumbent President Muhammadu Buhari hang down from a party campaign office in the capital Abuja, Nigeria, Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16. (AP PhotoBen Curtis)

The push for candidates to publicly renew their peace pledge, first made in December, picked up in earnest in recent days after the governor of Kaduna state declared on television that anyone who came to Nigeria to intervene in the election "would go back in body bags."

Election observers from the European Union quickly protested the comments and clarified their role as impartial. A number of foreign observer teams are set to monitor the vote. With tempers high, local media report that Nigeria's inspector general of police has assured protection to foreign election observers.

Another spat erupted following a statement by the U.S. ambassador in which he warned that anyone inciting violence would be held to account.

A schoolgirl rips down a campaign poster for opposition presidential candidate Atiku Abubakar as she and her friend walk over a highway bridge near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A schoolgirl rips down a campaign poster for opposition presidential candidate Atiku Abubakar as she and her friend walk over a highway bridge near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

The ruling party objected to the ambassador's remarks, issuing a statement saying that he "seeks to shrink our ambit of free speech so that we may behave in accordance with their vision of well-behaved Africans."

In recent days, Nigeria's security forces have pledged to do their best for a peaceful election. Police this week said they would detach officers accompanying top officials to free them up for wider duty and to avoid any "undue advantage."

At stake in Nigeria's election is a vibrant country of some 190 million people, including more than 84 million registered voters, that is Africa's largest economy and oil producer. And yet the sluggish economy is still recovering from recession and excessive dependence on crude oil exports, while high unemployment, corruption and poor infrastructure continue to hamper Nigeria's vast potential.

A street seller sells his wares by the side of the road next to a campaign poster for opposition presidential candidate Atiku Abubakar, at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A street seller sells his wares by the side of the road next to a campaign poster for opposition presidential candidate Atiku Abubakar, at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A street seller gestures to the camera as he sells his wares by the side of the road at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A street seller gestures to the camera as he sells his wares by the side of the road at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A customer, right, buys fruit from a street seller by the side of the road at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A customer, right, buys fruit from a street seller by the side of the road at a busy intersection near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

The faces of incumbent President Muhammadu Buhari and Vice President Yemi Osinbajo are seen on partially-ripped campaign posters fixed to the pillars of a highway bridge near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

The faces of incumbent President Muhammadu Buhari and Vice President Yemi Osinbajo are seen on partially-ripped campaign posters fixed to the pillars of a highway bridge near Nyanya, on the eastern outskirts of the capital Abuja, Nigeria Tuesday, Feb. 12, 2019. Nigeria is due to hold general elections on Saturday, Feb. 16, 2019. (AP PhotoBen Curtis)

A supporter of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party, sells election campaign accessories during a rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

A supporter of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party, sells election campaign accessories during a rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party, attend an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party, attend an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party attends an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party attends an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party and Ogun State governor aspirant, Ladi Adebutu, attend an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)

Supporters of Nigerian presidential candidate Atiku Abubakar, of the People's Democratic Party and Ogun State governor aspirant, Ladi Adebutu, attend an election campaign rally at the Tafawa Balewa Square, in Lagos, Nigeria, Tuesday, Feb. 12, 2019. Nigeria goes to the polls on Saturday to elect a new president. (AP PhotoSunday Alamba)