Ukrainian police have killed a man alleged to have opened fire on Saturday at passersby in a Kyiv district before barricading himself into a supermarket with hostages and refusing to negotiate in an incident that killed six people.
Ukraine's Security Service said the shooting was being investigated as a terrorist act.
President Volodymyr Zelenskyy, speaking in his nightly video address, said the shooting happened in the leafy Holosiivskyi district, injuring 14 people, including a 12-year-old boy.
"He took hostages, and unfortunately, one of them was killed," Zelenskyy said. "Four people died simply on the street. One woman died in hospital after being seriously wounded."
Shootings of this nature are extremely rare in Ukraine.
Video from the scene showed emergency crews loading at least one body into an ambulance.
Unofficial Telegram channels quoted witnesses as saying the suspect had moved down a street and shot and killed people at point-blank range without warning before entering the supermarket.
"The shooter in Kyiv was liquidated during the arrest," Interior Minister Ihor Klymenko said on Telegram.
"Special forces of the ... national police stormed the store where the attacker was. He took people hostage and shot at a policeman during his detention. Before that, negotiators tried to contact him."
Klymenko told reporters at the scene that officers had tried without success to negotiate with the suspect for 40 minutes. He said the man had owned a registered weapon and secured a medical certificate to use it.
Prosecutor General Ruslan Kravchenko said the shooter had been identified as a 58-year-old native of Moscow.
Zelenskyy said the suspect had a criminal record and had set fire to the apartment where he was registered before going into the street with the gun.
The president said he had lived for some time in the eastern Donetsk region, one of the focal points of the four-year war with Russia.
Kravchenko said the suspect had brandished an automatic weapon.
He posted a photo showing a blurred, prone figure covered in blood inside a store, a weapon lying nearby.

Russian drone, missile attack on Kyiv hits residential buildings, injures 16
Kenyan court charges 8 schoolgirls with fellow students' murder
At least 5 people killed in fire in Antwerp apartment block
Three people die in Mexico World Cup celebrations as fans crowd streets
US and Iran enter technical talks to secure peace deal, shipping restart
After Venezuela quakes, citizens lead rescues amid military theft accusations
Two dead after wildfire guts house in northern Greece
Afghanistan launches airstrikes on IS targets on border with Pakistan
