Ukraine's defence intelligence agency said on Friday Ukrainian units were entering the southern city of Kherson and told any Russian troops still there to surrender.
In a statement issued in Russian, the agency said Kherson was coming back under Ukrainian control after being occupied since March and threatened to "destroy" any Russian soldiers who resisted.
"You have only one chance to avoid death - immediately surrender," the Main Intelligence Directorate of the Defence Ministry said in the statement on the Telegram messaging app.
The statement, which offered the first official confirmation that Ukrainian forces were in Kherson, guaranteed the safety of any Russian soldiers who surrendered.
It said that Russian troops still in the city had been ordered by their commanders to change into civilian clothes and to hide.
Russia's defence ministry said earlier on Friday that it had completed the withdrawal of its troops from Kherson and retreated to the western bank of the Dnipro River. It said Russia had not suffered any loss of personnel or equipment during the withdrawal.
The ministry did not comment on Ukrainian officials' assertions that Russian troops in Kherson had been ordered to change into civilian clothes.
It was not possible for Reuters to assess whether or how many Russian troops were still in the city.
(Reporting by Tom Balmforth and Max Hunder; editing by Timothy Heritage)