AIP is caused by mutations in the hydroxymethylbilane synthase (HMBS) gene, resulting in the partial deficiency of porphobilinogen deaminase (PBGD). This evidence concerns the gene HMBS and autoimmune pancreatitis.