Muhammadrahim Shoyev has finally gotten his wish -- the Tajik man has been reunited with his 10-year-old granddaughter, the only member of his son's family of six to have survived their move to Iraq, according to Radio Liberty’s Tajik Service.

Maryam Shoyeva was among four Tajik children who were returned home on April 25 following a months-long effort by authorities to repatriate Tajik children and women who had been stranded in Iraq and Syria. In most cases their families are suspected of having left Tajikistan to join the extremist Islamic State (IS) group.

Maryam's parents and three younger siblings are believed to have died in air strikes targeting IS in Mosul, Iraq, last summer, and her grandfather had been seeking her return since discovering in February that she was still alive.

“Maryam is back, finally, safe and sound," Shoyev said after the girl was handed over to her grandparents in the village of Ghairatobod on the outskirts of Dushanbe.

Maryam’s father, 37-year-old Jamoliddin Shoyev, left the village along with his wife and children in 2015, telling his parents that he was going to Egypt, where he had studied more than a decade ago.  Tajik authorities say he wasn't on their list of suspected IS fighters from Tajikistan.

He would make occasional phone calls to his parents -- the last came in August 2017, according to the elder Shoyev -- who say they have no idea how he ended up in Mosul.

Just weeks later, Maryam appeared on a Russian TV program about Russian-speaking children who had been taken to a Baghdad shelter after Iraqi government forces recaptured Mosul from IS control.

The footage showed Maryam saying her parents had been killed in an air strike. Later she appeared on a YouTube video, pleading with her relatives to bring her home.

Shoyev asked Tajik authorities to help.

In a statement on April 25, the ministry said that the repatriation of the four Tajik minors, including Maryam, was facilitated with assistance of authorities in Iraq, Kuwait, and Russia, several other countries, UNICEF, and the International Red Cross.

The ministry will continue its campaign to repatriate other Tajik minors still remaining in the "war-torn Middle East regions," the statement said.

Dushanbe estimates that there are some 200 children among more than 1,000 Tajik nationals who are believed to have left for Iraq and Syria to join IS since 2014.

A Tajik official in Dushanbe told RFE/RL on April 25 that authorities have so far identified 13 unaccompanied Tajik minors who were rescued from former IS-held areas and taken to government shelters in Iraq and Syria.

Their parents are thought to have been killed in military conflict. The official requested anonymity because he was not authorized to speak to media.

The government has offered amnesty to all its citizens who were not involved in IS violence.  Dozens have come back and reintegrated into normal life.