The present invention provides a method of making an insulin-producing cell derived from an endometrial stromal stem cell (ESSC). The invention includes the progeny of ESSC, including any cell type generated during the differentiation of ESSC towards cells that produce insulin and exhibit cell markers characteristic of insulin producing cells. The cells of the invention can be used to treat various diseases such as diabetes type I, diabetes type II and gestational diabetes.