The invention provides for methods of producing pancreatic precursor cells and insulin-producing cells from bone marrow. In various embodiments, bone marrow derived stem cells are differentiated into pancreatic precursor cells and insulin-producing cells. In various embodiments, bone marrow derived stem cells are artificially induced to express VEGF and/or PDX-1. These cells can be used to treat or ameliorate diabetes or symptoms of diabetes.