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, CD8A is linked to diabetes mellitus.