Family and friends of assassinated former prime minister Shinzo Abe have gathered at a Tokyo temple this morning for a private funeral, as mourners outside condemned the leader's "despicable" murder.

Mr Abe was shot at close range on Friday while giving a campaign speech in the city of Nara, days ahead of upper house elections that saw his ruling party strengthen its hold on power.

The murder suspect, 41-year-old Tetsuya Yamagami, is in custody and has told police he targeted Mr Abe because he believed the politician was linked to an organisation he resented.

Although the funeral rites were for family members and close associates only, long lines of people, some dressed in black, came to the Zojoji temple to pay respects to Japan's longest-serving prime minister.

The Zojoji temple, a funeral site for late former Prime Minister Shinzo Abe, in Tokyo, Japan

"I can't get over my sadness, so I came here to lay flowers and say a prayer," said consultant Tsukasa Yokawa, 41, describing Mr Abe as "a great prime minister who did a lot to elevate Japan's presence" on the global stage.

"It's despicable," said Yuko Takehisa, a 51-year-old assistant nurse who lives in Kanagawa, near Tokyo.

"More could have been done to prevent it," she said, complaining that "no one reported" Mr Yamagami to police, despite reports he had test-fired a handmade gun before the attack.

Satoshi Ninoyu, the chairman of the National Public Safety Commission, a cabinet position overseeing national police, has pledged to hold a full review of any security failings.

Local police have already admitted flaws in their guarding programme for the high-profile politician, who was approached from behind and shot in broad daylight.

Mr Yamagami after Mr Abe's shooting

Mr Yamagami spent three years in Japan's navy and reportedly told investigators that his mother's large donations to a religious organisation had caused the family financial troubles.

The Unification Church, a global religious movement founded in Korea in the 1950s, said yesterday that Mr Yamagami's mother was a member, but did not comment on any donations she may have made.

Condolences pour in

Mr Abe's murder sparked shock and outrage in Japan and worldwide, and an outpouring of condolence messages.

Foreign Minister Yoshimasa Hayashi has said that over 1,700 condolence messages had been received from 259 countries, territories and international bodies.

US Secretary of State Antony Blinken yesterday made an unscheduled stop in Tokyo to pay tribute to Mr Abe, describing him as a "man of vision."

And Taiwanese Vice President William Lai was also in Tokyo for a surprise trip, Taiwanese media said.

The visit has the potential to anger Beijing, though Mr Hayashi said Mr Lai was travelling in a private capacity and there was no change to Japan's policy on working non-governmental relations with Taiwan.

Shinzo Abe

After today's funeral, Mr Abe's body will be driven past some of Tokyo's political landmarks, including the prime minister's residence - known as the Kantei - and the country's parliament, the Diet.

Public memorials are expected to be held at a later date, with suggestions that top foreign political leaders could attend, but no details have yet been announced.

Mr Abe was the scion of a political family and became the country's youngest post-war prime minister when he took power for the first time in 2006, aged 52.

He resigned in 2020 at the end of his second stint after suffering health problems.

His hawkish, nationalist views were divisive, particularly his desire to reform the pacifist constitution, and he weathered a series of scandals, including allegations of cronyism.

But he was lauded by others for his economic strategy, dubbed "Abenomics", and his efforts to put Japan firmly on the world stage, including by cultivating close ties with former US president Donald Trump.