Germany has repatriated from Iraq several children of jailed Islamic State adherents, the foreign ministry said Friday, April 5 as the war against the jihadist group draws to a close.

“The number of minors already brought back to Germany has reached a high single-digit figure,” the foreign ministry source said, adding that the returns were carried out with the consent of the children’s parents.

They are now in the custody of their relatives in Germany, the source added.

Among the first young returnees to Germany were three children who arrived with their 31-year-old mother at Stuttgart airport on Thursday, their lawyer Mahmut Erdem said in a statement.

They were taken into custody immediately, the lawyer said.

According to the foreign ministry, at least eight Germans were jailed in Iraq, after they were convicted over their membership of ISIS.

In August, an Iraqi judge cleared a woman of German and Turkish origin of ties to ISIS, and in April an Iraqi court commuted the death sentence of a German woman of Moroccan origin, reducing her sentence for ISIS membership to a life term. The court sentenced the woman’s daughter Nadia Rainer Hermann, also a German national, to life in prison.

The foreign ministry said it was aware of cases of German nationals in custody in northern Syria, but added that it did not have direct consular access to them as the embassy in Damascus has been closed.

Nevertheless, the government is looking for ways to repatriate the German nationals, it added.

With the recapture of the last ISIS bastion in Syria last month, the fate of foreign fighters and their families has become a significant problem for governments as the conflict against ISIS draws to a close.

The German interior ministry has said the children are innocent victims, paving the way for their return.

Last month, France in took in five orphans from Syria, and is dealing with returns on a case-by-case basis.

With reporting from AFP