N[C:2]1[S:3][C:4]([CH3:11])=[C:5]([C:7]([O:9][CH3:10])=[O:8])[N:6]=1.[Br-:12].[Na+].C(ON=O)(C)(C)C>CC#N.[Cu]Br>[Br:12][C:2]1[S:3][C:4]([CH3:11])=[C:5]([C:7]([O:9][CH3:10])=[O:8])[N:6]=1To a stirred suspension of methyl 2-amino-5-methyl-1,3-thiazole-4-carboxylate (5 g, 29.03 mmol, 1 eq.) in 75 ml of MeCN, were added sodium bromide (5.97 g, 58.07 mmol, 2 eq.), Copper (I) bromide (6.08 g, 31.93 mmol, 1.1 eq.) and t-Butylnitrite (90%, 3.65 g, 31.93 mmol, 1.1 eq.). The reaction was slowly heated to 80° C. for 1 h and allowed to cool. MeCN was evaporated and 100 ml DCM were added to the residue. The crude was triturated, filtered through “celite” plug and washed with further 50 ml of EtOAc. The organic layers were combined, dried over MgSO4, and evaporated to give methyl 2-bromo-5-methyl-1,3-thiazole-4-carboxylate (3.91 g, 42% yield) as a yellow solid.