Kenya's former President Daniel arap Moi dies aged 95

Kenya's former President Daniel arap Moi has died at the age of 95.

President Uhuru Kenyatta announced his death, saying the nation had lost a "great man".

Mr Moi was Kenya's longest-serving president. He was in office for 24 years, until intense pressure forced him to step down in 2002.

His critics saw him as an authoritarian ruler who oversaw rampant corruption, but his allies credited him for maintaining stability in the country.

In 2004, Mr Moi asked for forgiveness from "those he had wronged".

He ruled over a one-party state from 1978 until 1991, when he was forced to adopt a multi-party system of government following mass protests and diplomatic pressure from Western powers.

He won two subsequent elections, which were marred by rigging.

Constitutionally barred from seeking a third term in office, he agreed to a peaceful transfer of power to Kenya's third President, Mwai Kibaki, in 2002.

In office, he was feared and admired in equal measure, and was accused of human rights abuses.

He was a more populist politician than Kenya's first President Jomo Kenyatta and his legacy was tarnished by economic stagnation and accusations of corruption.

Who was Daniel arap Moi?

Born on 2 September 1924 into a farming family, he was a close ally of Kenyatta in the run-up to Kenyan independence in 1963.

He served as home affairs minister from 1964 and in 1967 he became the country's vice-president.

Until the introduction of multi-party politics, Mr Moi was elected unopposed as president in 1983 and 1988.

He survived a coup attempt in 1982, which led to a brutal crackdown on his opponents. He also scrapped the entire air force, whose members had taken part in the foiled coup.

He appeared to dominate almost every aspect of life, an impression aided by the state-run media.

His critics see his rule as the lost years, a time when Kenya was bedevilled by corruption, ethnic conflicts and human rights abuses.

Remembering Moi

Dickens Olewe, BBC News Online

The debate about how Kenyans will mourn the former president began long before he succumbed to his recent health problems.

The 95-year-old was loved and loathed in equal measure; his supporters will mourn him as a patriot and a consummate politician who they fondly nicknamed "professor of politics", but others will choose to remember him as a brutal dictator.

Defenders of Mr Moi will point to his often-repeated line that he kept Kenya "safe and peaceful", noting that while several African countries were imploding into civil war the country remained stable.

Whichever version is favoured, the legacy of one of the last surviving independence leaders lives on as many of today's top politicians, including President Uhuru Kenyatta and his deputy, William Ruto, were protégés of the second president.

Kenya has changed a lot since Mr Moi left office but his influence can still be felt.

 May soul Rest In Peace.