The present invention provides methods and materials relating to obtaining or expanding populations of islet cells, and uses of the islet cells obtained by these methods, for example in the treatment of diabetes. The invention uses transcription factors in a process of expansion and de-differention, followed by redifferentiation.