World leaders and kings paid tribute to one of Africa's most famous diplomats, Kofi Annan, at his funeral in his native Ghana.
It is the culmination of three days of mourning when thousands of Ghanaians passed by their coffin when it was in the capital, Accra.
Annan died on 18 August in Switzerland at the age of 80 years.
He served as UN Secretary-General from 1997 to 2006, the first Black African to hold the highest diplomatic post in the world.
He was awarded the Nobel Peace Prize in 2001 for contributing to the revival of the international body at a time when the Iraq war and the HIV / AIDS pandemic coincided.
At the funeral, today's UN Secretary-General Antonio Guterres said Annan is an extraordinary leader who sees the UN as a force forever.
"As we face the headwinds of our turbulent and turbulent times, let yourself be inspired by the heritage of Kofi Annan," Guterres said.
"Our world needs it now more than ever," he added.
By Mayeni Jones, BBC News, Accra
Funeral guests in traditional black and red attire filled the main hall of the Accra Conference Center, which seats some 4,000 people. On a huge screen in an auditorium in front of the hall, others watch the proceedings.
There were hymns and a performance by soprano and human rights activist Barbara Hendricks.
Annan's nephew Kojo Amoo-Gottfried read a laudation and described how he conducted a hunger strike in his secondary school to protest the quality of food in the dining room.
There was also a moving tribute from his wife, the Swedish lawyer and artist Nane Maria Annan. She described how her husband was always excited to return home and thanked Ghana for giving the world such an extraordinary man.
She said her husband had an irresistible aura of radiant warmth.
"His legacy would live on through his founding and through us all," she concluded.
The former Queen of the Netherlands, Princess Beatrix, and her daughter-in-law, Princess Mabel, who were close friends of Annan, were among the mourners.
The King of Ghana's Asante, Otumfuo Nana Osei Tutu II, gave Annan the title of Busumuru in 2012 to honor his role as an international diplomat.
Bustrumuru is one of the swords tied to the golden chair or throne of the monarch.
The Anglican bishop of Annan's hometown of Kumasi, Central Ghana, Reverend Daniel Sarfo, said: "Today, history is written in Ghana, one of our famous sons is here.
"But we are grateful that God has used him over the years to work for humanity, for peace, and now that he is here, he has finished his work."
All pictures are subject to copyright