HMBS is the gene responsible for AIP, with mutations resulting in loss of enzyme function. This evidence concerns the gene HMBS and autoimmune pancreatitis.