When a pancreas-targeted adeno-associated virus (AAV) vector was employed for long-term Glp-1 gene delivery, pancreatic GLP-1 expression protected mice from STZ-induced diabetes through preservation of the β-cell mass. Here, GLP1R is linked to diabetes mellitus.