[Cl:1][C:2]1[C:6]([Cl:7])=[C:5]([CH3:8])[NH:4][C:3]=1[C:9]([OH:11])=O.O=S(Cl)[Cl:14]>>[Cl:1][C:2]1[C:6]([Cl:7])=[C:5]([CH3:8])[NH:4][C:3]=1[C:9]([Cl:14])=[O:11]A solution of 3,4-dichloro-5-methyl-1H-pyrrole-2-carboxylic acid (Intermediate 3) in 50 ml SOCl2 was heated at reflux for 30 min. Solvent was removed and the residue was dried in vacuo.