Former Kenyan president Mwai Kibaki has died at the age of 90.
Mr Kibaki's death was announced on Friday by President Uhuru Kenyatta.
The cause of death was not given, but Mr Kibaki was in and out of hospitals in recent years as his health failed.
"Mwai Kibaki will forever be remembered as a gentleman in Kenyan politics, a brilliant debater and one who steered development in the country," Mr Kenyatta said, declaring a period of mourning until his funeral is held.
Mr Kenyatta described Mr Kibaki as a "quintessential patriot whose legacy of civic responsibility will continue to inspire generations of Kenyans."
Mr Kibaki served two terms as president of the East African country, ruling from 2002 to 2013.
But his re-election to a second term in 2007 put a dent in his reputation as his victory was disputed by his opponent, Raila Odinga.
Mr Odinga asserted that the election result had been rigged and that he had really won the poll.
Hundreds of people were killed in weeks of ethnic violence that followed.
Amid the stalemate, Kenya exploded into fighting along tribal lines that forced more than 600,000 people from their homes. The violence shattered Kenya's standing as a beacon of stability in East Africa.
The international community led by former UN secretary-general Kofi Annan eventually brokered a fragile power-sharing deal between Mr Kibaki and Mr Odinga, who settled for a new role as Kenya's prime minister.
But the International Criminal Court (ICC) brought charges of crimes against humanity against Mr Kenyatta, who had backed Mr Kibaki, as well as William Ruto, the current deputy president.
The ICC later dropped criminal charges against Mr Ruto and Mr Kenyatta, who had been charged for their alleged roles in the violence. They denied any wrongdoing.
In the wake of the violence, Mr Kibaki oversaw a new constitution for Kenya that was aimed at decentralising powers and reducing persistent ethnic tensions that continue to flare up during electoral seasons.
The new constitution was praised as having some of the most progressive human rights provisions in the world.
Mr Kibaki stepped down in 2013 at the end of his second term.
Emilio Mwai Kibaki was born on November 15 1931, when Kenya was under British colonial rule.
He studied at Uganda's Makerere University, where his teachers remembered him as a brilliant economics student. He continued his studies at the London School of Economics.
Back home, he worked as a teacher before joining politics in a country buoyed by independence from colonial rule in 1964. He served as finance minister, vice president, leader of the opposition - roles that placed him among the most consequential Kenyans of his generation.
Before winning the presidency in 2002, he had run for the top political job twice and lost.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here