CD4 count < 200 cell/μL at recruitment increased risk and physical activity decreased risk of diabetes by both HbA1c and OGTT. Here, CD4 is linked to diabetes mellitus.