Weeping Afghans gathered under tight security on Friday to bury former president Burhanuddin Rabbani, the government's chief peace negotiator killed this week by a suicide bomber posing as a Taliban envoy with a message about possible talks.
After prayers at the presidential palace, a coffin draped in the black, red and green national flag was taken to a hilltop in the Wazir Akbar Khan district for burial.
Crowds along the procession route pushed, shoved and clambered their way through the throngs of mourners to touch Rabbani's coffin as it made its way towards the burial site.
Others chanted "God is great" as the coffin passed by. Hundreds more were clustered on the hilltop around his grave.
Bursts of automatic gunfire briefly unsettled the capital as police fired shots into the air to disperse large groups who moved towards the burial site without having passed tight security checks.
Streets surrounding the capital's political and diplomatic heart were blocked-off and almost empty.
Special forces guarding the funeral procession route leading to "swimming pool hill," a small outcrop overlooking Kabul's diplomatic enclave where the Taliban once carried out executions in a disused, Soviet-built pool.
Rabbani was killed by a man who claimed to be a Taliban envoy with a message of peace from the insurgent leadership.
His death has reignited long-simmering ethnic tensions, stirring fears of retribution. But his supporters and political allies called for a peaceful burial on Friday.
"We will avenge the death of our leader but today, please be calm," said a man using a loudspeaker.
Others rushed to take control of the microphone and shouted slogans attacking the government and foreign troops operating in the country.
"Death to the American allies," one man roared before a defence ministry official ordered the speakers switched off.
MOST DIFFICULT TIME
Car windscreens and walls along normally congested roads were covered with posters bearing the face of Rabbani, an ethnic Tajik and former mujahideen resistance fighter who became president after the fall of the Soviet-backed regime.
"Professor Rabbani's martyrdom is a big loss for Afghanistan and it is a sad day for all of us," said restaurant owner Mohammad Zia.
One of Zia's customers sat sipping tea beneath a window bearing Rabbani's photo and added: "Rabbani was killed at the most difficult time for Afghans, when security is at it's worst and people feel hopelessness."
Condolences and tributes poured in from prominent Afghans and foreign governments condemning Tuesday's killing and urging Afghans not to give up on Rabbani's fledgling peace process.
President Hamid Karzai, who chose Rabbani to head the High Peace Council last October, cut short his trip to the United Nations General Assembly in New York to return for the burial.
He has come under intense criticism from political opponents who say he instructed Rabbani to meet with the assassin. Karzai's office has said he was not involved.
Rabbani's protege and former foreign minister Abdullah Abdullah, one of Karzai's most long-standing critics, wept as the coffin was taken up the hill.
"Today we bury our respected leader but we will not keep silent," he shouted, prompting a huge roar from the crowd.