Al-Mirghani was elected President of Sudan in May 1986 during the country's last democratic elections. He was unseated in a 1989 coup led by Omar al-Bashir.