Nairobi (AFP) – Former Kenyan president Daniel Arap Moi, who ruled the country with an iron fist between 1978 and 2002, has died aged 95, President Uhuru Kenyatta has announced.

Moi’s 24-year rule saw his country become a one-party state where critical voices were crushed, corruption became endemic and tribal divisions were stoked and turned bloody.

“It is with profound sadness that I announce the death of a great man of an African state,” Kenyatta said in a statement.

He ordered a period of national mourning until a state funeral is held, on a date not yet announced.

The former president died early Tuesday morning at his family home in Kenya’s west, Kenyatta added.

Moi fought off rivals in a bitter contest to take the top job in 1978, succeeding Kenya’s first president, Jomo Kenyatta, when he died.

One of the defining scandals of his presidency was the loss of $1 billion from the central bank through false gold and diamond exports.

A report by Britain-based risk consultant group Kroll in 2007 claimed Moi’s family and clique laundered money on a global scale, buying properties and companies in London, New York and South Africa and even a 10,000-hectare (25,000 acres) ranch in Australia.

Moi was however praised for keeping Kenya a relative haven of peace during a chaotic period in east Africa which saw the genocide in Rwanda and civil wars in Burundi and Somalia.

His later return — under significant pressure — to multiparty elections in 1992, and peaceful handover of power to opposition leader Mwai Kibaki in 2002 also won him some praise.

In recent years observers have criticised the “rehabilitation” of Moi as the elderly former president often received visits from President Kenyatta, his opposition rival Raila Odinga and any politician seeking his blessings ahead of elections.

Kenyatta revived “Moi Day” in honour of the former president in 2017, after it was scrapped in 2010.