After adjusting for age, sex, diabetes mellitus, hypertension, IgA nephropathy, frequency of serum creatinine examinations, use of methotrexate, sulfasalazine, ciclosporis, corticosteroid, aminoglycoside, amphotericin B, cisplatin, contrast agents and annual cumulative defined daily dose (cDDD) of traditional NSAIDs, selective cyclooxygenase-2 inhibitors (COX-2i) and preferential COX-2i, we calculated the adjusted hazard ratios (aHRs) with 95% confidence intervals using the Cox proportional hazard model to quantify the risk of ESRD in AS patients. The gene discussed is PTGS2; the disease is IgA glomerulonephritis.