For how long was Nigeria ruled by military control ?
After Abacha 's death in 1998 , General Abdulsalami Abubakar took over , and ruled until 1999 when Olusẹgun Ọbasanjọ again became head of state ( via an election ) , and ended the junta .