Japan's former prime minister Shinzo Abe has died hours after he was shot while campaigning for a parliamentary election.
A man opened fire on Abe, 67, from behind with an apparently homemade gun as he spoke at a traffic island in the western city of Nara on Friday, Japanese media reported.
It was the first assassination of a sitting or former Japanese premier since the days of prewar militarism in the 1930s.
The hospital that tried to save Abe said he died at 5.03pm local time (6.03pm AEST), about five and a half hours after he was shot.
A doctor said Abe bled to death from two deep wounds, one on the right side of his neck. He had no vital signs when he was brought in.
Speaking before Abe's death was announced, Prime Minister Fumio Kishida condemned the shooting in the "strongest terms" while Japanese people and world leaders expressed shock.
"This attack is an act of brutality that happened during the elections - the very foundation of our democracy - and is absolutely unforgivable," said Kishida, struggling to keep his emotions in check.
A fire department official had said Abe appeared to be in a state of cardiac arrest when airlifted to hospital.
Police said a 41-year-old man suspected of carrying out the shooting had been arrested. NHK quoted the suspect, identified as Tetsuya Yamagami, as telling police he was dissatisfied with Abe and wanted to kill him.
Abe was making a campaign speech outside a train station when two shots rang out at about 11.30am local time.
Security officials were then seen tackling a man in a grey T-shirt and beige trousers.
"There was a loud bang and then smoke," businessman Makoto Ichikawa, who was at the scene, told Reuters, adding that the gun was the size of a television camera.
"The first shot, no one knew what was going on, but after the second shot, what looked like special police tackled him."
Earlier, Kyodo news service published a photograph of Abe lying face-up on the street by a guardrail, blood on his white shirt. People were crowded around him, one administering heart massage.
Nara emergency services said he had been wounded on the right side of his neck and left clavicle.
Airo Hino, political science professor at Waseda University, said such a shooting was unprecedented in Japan. "There has never been anything like this," he said.
Senior Japanese politicians are accompanied by armed security agents but often get close to the public, especially during political campaigns when they make roadside speeches and shake hands with passersby.
In 2007, the mayor of Nagasaki was shot and killed by a yakuza gangster.
The head of the Japan Socialist Party was assassinated during a speech in 1960 by a right-wing youth with a samurai short sword.
Police said the suspected shooter was a resident of Nara. Media said he had served in Japan's military for three years until 2005. Defence Minister Kishi declined to comment on that.
Abe served two terms as prime minister, stepping down in 2020 citing ill health.
But he had remained a dominant presence over the ruling Liberal Democratic Party (LDP), controlling one of its major factions.
Kishida suspended his election campaign after the shooting. All main political parties condemned the attack.