At a closely guarded prison in this northeastern Syrian town, former Islamic State fighters make papier-mâché models of birds, flowers and trees while serving sentences that typically run two or three years.

Across the border in Iraq, Islamic State detainees are being held in degrading conditions, subjected to torture and often, when brought to trial, given long sentences or the death penalty, according to human rights groups.

The Syrian Kurdish allies of the United States are attempting a different approach. Their goal, Kurdish officials say, is to rehabilitate and reintegrate many of the Islamic State fighters in their custody, in hopes of deterring a revival of the militant movement.

Read more: Washington Post