Huge crowds have lined the streets of Tokyo to pay their last respects to ex-Japanese prime minister Shinzo Abe, who was assassinated last week.
The 67-year-old was shot dead on Friday while speaking at a campaign event in the southern city of Nara.
On Tuesday, a hearse carried Abe's body through the capital and past landmarks to the funeral hall where he was then cremated.
A private funeral had been held earlier at the Zojoji temple.
Across Tokyo, flags flew at half-mast and outside the temple, a long line of mourners stretched over two blocks, many carrying bouquets.
The hearse travelled past the headquarters of Abe's Liberal Democratic Party (LDP) before making its way to the prime minister's residence, where PM Fumio Kishida and other lawmakers received the motorcade.
After that it passed the parliament building, where Abe first entered as a lawmaker in 1993, before arriving at the Kirigaya Funeral Hall.
Shinzo Abe's funeral was supposed to be a private affair, closed to all but family and friends. But Japan's public had decided otherwise.
From early this morning they began lining up outside the giant Zojoji temple in central Tokyo to lay flowers at the small table set out to one side of the main complex.
The weather forecast was heavy thundershowers, but as the funeral service began inside the crowds on the streets outside only grew larger.
By 14:30 (06:30 GMT) there were tens of thousands of people lining the streets all the way from the Zojoji to the Parliament building at Nagatacho.
I was standing in the crowd outside the Prime Minister's office. As the funeral cortege drove towards us, a hush fell across the crowd, and all you could hear was the news helicopters circling above.
People bowed to Mrs Abe, sitting in the front of the hearse, holding her husband's funeral tablet. Behind me people began to sob loudly. Then some shouted out. "Abe-San, thank you so much".
A few seconds later the hearse was gone. A middle-aged woman behind me was dabbing her eyes with a handkerchief.
"We will never have another politician like him," she said.
Shinzo Abe was undoubtedly a divisive and controversial figure. His views on the history of World War Two were often troubling.
But to the crowds of Japanese who turned out to say goodbye to him today, "Abe-San" was just the best prime minister they'd known.
Abe was Japan's longest-serving post-war prime minister and one of its most influential politicians. And his death has sent shockwaves through a nation where incidences of gun violence are extremely rare.
Police said the gunman targeted Abe due to grievances he had with a religious group that he believed Abe was a part of. But they are still investigating what the gunman's motives were and whether he acted alone.
A vigil held on Monday evening drew hundreds of dignitaries as well as thousands of ordinary Japanese citizens who came to lay flowers.
"I came here to offer flowers because I think he gave the Japanese something to be proud about," said Emi Osa.
Abe's death drew an outpouring of shock from prominent world leaders, with UK Prime Minister Boris Johnson condemning the shooting as a "despicable attack".
US President Joe Biden called Prime Minister Kishida to express his "outrage, sadness and deep condolences", and called the assassination "a tragedy for Japan".