The new cells prevented the onset of diabetes in an animal model of the disease.