How to cite this article: Cortes, A. et al. Major histocompatibility complex associations of ankylosing spondylitis are complex and involve further epistasis with ERAP1. Here, ERAP1 is linked to ankylosing spondylitis.