Blocking of virus replication by either depletion of dendritic cells, genetic depletion of Usp18 or pharmacological inhibition of replication blunted expansion of autoreactive CD8+ T cells and prevented diabetes. Here, USP18 is linked to diabetes mellitus.