Chad has imposed a curfew and shut its borders after announcing the death of longtime president Idriss Deby Itno on Tuesday.

Chad’s army dissolved government and parliament after announcing the death of longtime president Idriss Deby Itno on Tuesday but vowed “free and democratic” elections following an 18-month transition period.

The army had earlier announced that one of Deby’s sons would replace him as the head of a military council following the death of the leader who had ruled the country with an iron fist for three decades.