Sudan's military said on Wednesday that it had thwarted a coup attempt and arrested an unspecified number of senior officers in connection with a plot to restore the party of ousted President Omar al-Bashir to power.

The ruling military council took over after the military ousted al-Bashir on April 11 following weeks of street protests.

It is working with an alliance of protest and opposition groups to finalize a power-sharing deal for a three-year transition towards elections, a process that has repeatedly stalled. They are due to resume talks on Saturday, state news agency SUNA said.