A pancreas transplant can treat type 1 diabetes.