Russia and Ukraine exchanged 205 prisoners of war on Friday, hours after rescue workers ended their search of a destroyed block of flats in Kyiv in which 24 people were killed, including three girls.

Most of the Ukrainian prisoners had been held since 2022, said President Zelensky.

The swap was part of a short-lived ceasefire ending this week with the launch of massive Russian strikes across Ukraine, including a missile attack that reduced 18 flats to rubble. Among the victims was 12-year-old Lyubava Yakovleva, whose father was killed during the war.

Meanwhile, Russian officials said four people, including a child, were killed when Ukrainian drones hit the city of Ryazan, south-east of Moscow.

Images on social media showed damage to two blocks of flats, which Ryazan Governor Pavel Malkov said had been damaged by debris. Twenty-eight people were hurt in the attack. Ukrainian's drone commander said his forces had hit Ryazan's oil refinery - one of the biggest in Russia.

Rescue services in the Darnytskyi district of south-east Kyiv completed their search of the rubble of a devastated nine-storey apartment block on Friday. Throughout the 28-hour operation, residents and soldiers looked on, waiting for news of missing relatives.

Kyiv was marking a day of mourning on Friday for the 24 victims of the strike. The Nova Poshta postal service said two of its staff, both named Dmytro, had been killed in the attack, one of them alongside his wife. Former hockey player Yuriy Orlov and his 24-year-old girlfriend Maryna Homeniuk, an English teacher, were among the victims. A kindergarten teacher, Svitlana Moskalishyna, was also killed.

The three girls who died were 12, 15, and 15. Lyubava Yakovleva's elder sister was initially declared missing in the rubble, and it was later reported that she too had been killed. The girls' school said on Facebook that the scariest face of war is the children's lives it takes.

Among those bringing flowers to the scene was Volodymyr Zelensky, who said pressure had to be brought to bear on a Russia that deliberately destroys lives and hopes to remain unpunished. The Ukrainian leader said the building had been practically leveled to the ground by a Russian X-101 cruise missile.

He also paid tribute to the 205 Ukrainians released in the first stage of a planned exchange of 1,000 prisoners on each side. The deal was brokered by the US and United Arab Emirates, and Russia's defense ministry said that 205 Russians were taken to Belarus, where they were being given medical and psychological support.

Zelensky said among those freed were Ukrainians who had fought during the siege of Mariupol in the initial months of Russia's full-scale invasion from February 2022, as well as in several border regions and at the nuclear plant at Chornobyl, previously known during the Soviet era as Chernobyl.

The truce, which was marred by a series of violations, was quickly forgotten this week when Russian forces launched their biggest drone onslaught since the start of the war. Ukrainian officials said 1,410 Russian drones and 56 missiles had been launched at Ukrainian cities and communities in just one 24-hour period from 13-14 May. Although Russia's President Putin had spoken last Saturday of the war heading to an end, there have been no negotiations since February and there has been little sign of any progress in recent days.