Diabetes mellitus is one of the most common diseases worldwide and is a considerable health and economic burden. In New Zealand alone, more than 50,000 individuals have undetected diabetes and are at increased risk of various complications and early death. The pancreas is a key player in glucose regulation and acute pancreatitis, an acute inflammatory disease of the pancreas, is the most frequent pancreatic disease. Newly diagnosed diabetes is common after acute pancreatitis and often develops early after hospital discharge from acute pancreatitis. However, little is known about risk factors and mechanisms of pancreatogenic diabetes. For the first time, this project aims to conduct three prospective clinical studies to determine whether acute hyperglycemia during hospitalisation for acute pancreatitis is an independent risk factor for developing pancreatogenic diabetes, to investigate changes in glucoregulatory hormones in individuals with new onset diabetes after acute pancreatitis, and to determine whether there is a relationship.