Andrii Yermak, the head of the Ukrainian president’s office, confirmed that Yermokhin had arrived back in Ukraine and shared a photo of him with a Ukrainian flag. Yermak thanked UNICEF and Qatari negotiators for facilitating Yermokhin’s return.

The teenager reportedly tried to return home on his own earlier this year. Lvova-Belova told reporters in April that Russian authorities caught Yerkmohin near Russia’s border with Belarus on his way to Ukraine. The ombudswoman argued that he was being taken there “under false pretenses.”

Before he was allowed to leave Russia, lawyer Bobrovska described an urgent need for Yermokhin to return to Ukraine before his 18th birthday, when he would become eligible for conscription into the Russian army. The teenager had received two official notices to attend a military enlistment office in Russia, although officials later said he had only been summoned for record-keeping purposes.