Although the viral infection itself accelerated the development of diabetes, the presence of stimulated iNKT cells during this time caused infiltrated macrophages to express several suppressive enzymes, among which IDO1 was sufficient to inhibit anti-islet T cells response and to prevent T1DM. Here, IDO1 is linked to type 1 diabetes mellitus.