C([O:3][CH:4](OCC)[C:5]1[S:6][CH:7]=[C:8]([C:10]([O:12][CH3:13])=[O:11])[N:9]=1)C.Cl>CC(C)=O.C(Cl)Cl>[CH:4]([C:5]1[S:6][CH:7]=[C:8]([C:10]([O:12][CH3:13])=[O:11])[N:9]=1)=[O:3]Thiazole-4-carboxylate 3 (30 g, 122 mmol) was dissolved in 300 mL of acetone, to which was added aqueous HCl (21 mL, 2M). After keeping the reaction mixture at RT for overnight, the reaction mixture was heated up and kept at 60° C. for 2 h. The reaction mixture was then cooled and evaporated under vacuum to give a residue which was taken up in 200 mL of DCM. DCM solution was then washed with saturated NaHCO3 solution and then brine and dried over anhydrous Na2SO4. DCM solution was filtered and concentrated under vacuum to give the concentrated solution which was triturated by ether to give methyl 2-formylthiazole-4-carboxylate 4 (14 g, 82 mmol, 54% for two steps) as a white solid. 1HNMR (400 MHz, CDCl3) δ 133-8-p 110.16 (d, J=1.3 Hz, 1H), 8.53 (d, J=1.3 Hz, 1H), 4.01 (s, 3H).