Finally, our study demonstrates that OSA is related to altered AIP; however, to assess if OSA is a confounding factor when using AIP for predicting cardiovascular morbidity and mortality in general population, follow up studies are needed. Here, AIP is linked to autoimmune pancreatitis.