Diaminopyrimidines as MTH-1 inhibitors for treatment of cancer and their preparation.