Russia has declared victory in its months-long battle to conquer the Ukrainian port city of Mariupol.
The last fighters defending the city's Azovstal steel plant have now surrendered, Moscow officials said.
For months the troops had been holed up in the huge complex, preventing Russia from establishing complete control over the city.
Friday's evacuation marks the end of the most destructive siege of the war, with Mariupol now in complete ruins.
The city and its steel plant are now "completely liberated" after 531 Ukrainian troops left the site, the Russian defence ministry said.
"The underground facilities of the enterprise, where the militants were hiding, came under the full control of the Russian armed forces," it added in a statement.
Ukrainian President Volodymyr Zelensky said the site's last remaining defenders had been given permission to leave.
"Today the boys received a clear signal from the military command that they can get out and save their lives," he told a Ukrainian television channel earlier on Friday.