Tens of thousands of Kenyans gathered at an open air stadium on Tuesday for the state funeral of Daniel Arap Moi, the countrys longest serving president, who died recently aged 95.
Mois coffin, draped in the Kenyan flag, was carried on a gun carriage from the State House, the official seat of the presidency, on the 5 km (3 mile) route to the stadium in the capital, Nairobi.
Troops from the Kenyan army, air force and the navy marched alongside into the stadium, where choirs were singing gospel songs as they awaited the cortege of the man described by critics as a virtual dictator.
A long-time friend Silas Yego, also retired bishop of the Africa Inland Church, where Moi had worshiped, told the mourners that Moi was a humble man.
Anybody who knew him, they know he was a humble man.
President Moi never bragged in any success instead he attributed it to God.
Moi believed if you want to succeed, never tell a lie, Yego said.
Moi came to power in 1978 when he was serving as vice-president after the nations first leader President Jomo Kenyatta died.
He remained in power until the end of 2002.
He held power for longer than any other leader since independence and left a legacy of corruption that still haunts the East African nation.
During his rule, thousands of activists, students and academics were held without charge in the underground cells.
Prisoners say they were sometimes denied food and water.
He succeeded in keeping Kenya relatively stable compared to many of its troubled neighbours.
However, he floundered badly on the economy as poverty deepened and corruption flourished.
A 2004 report by corporate investigations firm group Kroll accused Moi and his inner circle of stealing 2 billion dollars of state funds, an accusation dismissed at the time by the government.
He won elections in 1992 and 1997 amid a divided opposition.
However, he was booed and heckled into retirement when term limits forced him to step down in 2002 and he lived quietly for years on his sprawling estate in the Rift Valley.
Several leaders from the region, including the Ethiopian President Sahle-Work Zewde, Rwandas President Paul Kagame, South Sudans Salva Kiir and Ugandas Yoweri Museveni joined President Uhuru Kenyatta and the other mourners at the service.
Mois son Raymond gave the former presidents eulogy and Kenyatta was also expected to address the crowd.
Tuesday was declared a public holiday.