CD4 and psychiatric disorder: In our multistate model, adjusted for age, sex, year of ART initiation, cumulative time with NVL, and WHO clinical stage and CD4 cell count at ART initiation, rates of excess all-cause mortality in people with history of mental illness were greatest in patients retained in care with VLS (aHR 3·43 [95% CI 2·83–4·15]), followed by patients retained in care with NVL (2·74 [2·32–3·24]), and smallest in those LTFU (2·12 [1·78–2·53]).