In summary, we identified sorafenib as an inhibitor of Th1 differentiation and an indirect inhibitor of JAK2 and found that sorafenib prevents and reverses type 1 diabetes in NOD mice by decreasing the accumulation of Th1 cells and the expression of inflammatory cytokines in pancreas. The gene discussed is JAK2; the disease is type 1 diabetes mellitus.