On Monday, Annan's body was transferred to the West African nation from Switzerland, where he died on August 18 at the age of 80. However, it wasn't immediately clear why the process took so long.
Among those who attended the state funeral of the Nobel Peace Prize laureate at the International Conference Centre in the Ghanaian capital were UN Secretary General Antonio Guterres, Ghana's President Nana Akufo-Addo, senior government and military officials as well as dignitaries from across the world, Efe news reported.
"He gave his life to making peace where there was conflict, to defending the voiceless who were powerless, to promoting virtue where there was evil."
Speaking at the funeral, Guterres said Annan was an exceptional leader who saw the UN as a force for good. "As we face the headwinds of our troubled and turbulent times, let us always be inspired by the legacy of Kofi Annan," he said.
"Our world needs it now more than ever."
There were hymns and a performance by soprano and human rights campaigner Barbara Hendricks, the BBC reported. Annan's nephew Kojo Amoo-Gottfried read a eulogy, describing how he had led a hunger strike in his secondary school to protest against the quality of food in the dining hall.
There were also a moving tribute by his wife, Swedish lawyer and artist Nane Maria Annan. She thanked Ghana for giving the world such an extraordinary man and said her husband had an irresistible aura of radiant warmth.
"His legacy would live on through his foundation and through all of us," she said.
His 1997-2006 term at the helm of the UN was marked by his programme to reform the institution and his efforts to draw support from the international community in Africa as well as leading the fight against AIDS.
In 2001, Annan and the UN were jointly awarded the Nobel Peace Prize for "their work for a better organised and more peaceful world".
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)