[CH3:1][N:2]1[CH:6]=[CH:5][CH:4]=[C:3]1[CH:7]=[O:8].II.[Br:11]Br>C(Cl)(Cl)Cl>[Br:11][C:5]1[CH:4]=[C:3]([CH:7]=[O:8])[N:2]([CH3:1])[CH:6]=1To a solution of 1-methyl-1H-pyrrole-2-carbaldehyde (1.09 g, 10.0 mmol) in 60 mL chloroform at −20° C. was added a single crystal of iodine. The mixture was stirred until homogeneous. Bromine (0.51 mL, 10.0 mmol) was added dropwise as a solution in 10 mL chloroform. The solution was stirred while warming from −20 to 0° C. over 1.5 h. Chloroform was removed in vacuo and the residue added to 5% sodium bisulfite solution to quench excess bromine/iodine. Saturated sodium bicarbonate was added until the pH of the mixture reached 7. Organics were extracted with ether (3×75 mL), dried over magnesium sulfate, filtered and concentrated to give crude 4-bromo-1-methyl-1H-pyrrole-2-carbaldehyde (1.80 g) as the major component of a mixture of starting aldehyde and dibromopyrrole. Used without further purification.