[NH2:1][C:2]1[S:3][C:4]([CH:7]=[O:8])=[CH:5][N:6]=1.C([O-])([O-])=O.[K+].[K+].Cl.Cl[CH2:17][CH2:18][N:19]([CH2:21][CH2:22]Cl)[CH3:20]>CN(C=O)C>[CH3:20][N:19]1[CH2:21][CH2:22][N:1]([C:2]2[S:3][C:4]([CH:7]=[O:8])=[CH:5][N:6]=2)[CH2:17][CH2:18]1In a 25 ml flask are added 0.5 g of 2-aminothiazole-5-carboxaldehyde, 1.35 g of K2CO3 in 5 ml of DMF. After dissolution, 0.901 g of 2-chloro-N-(2-chloroethyl)-N-methylethanamine hydrochloride are added. The mixture is left at room temperature for 1 h then heated to 90° C. for 5 h. Next, the mixture is evaporated, dissolved in 100 ml of water, and the aqueous phase is extracted three times with ethyl acetate. The organic phases are combined, washed with sodium chloride saturated solution, dried over sodium sulfate, filtered, and evaporated to yield 420 mg (50%) of 2-(4-methylpiperazin-1-yl)thiazole-5-carboxaldehyde.