[CH3:1][O:2][C:3]1[C:4]([C:8]([NH:10][NH2:11])=[O:9])=[CH:5][S:6][CH:7]=1.[N:12]([O-])=O.[Na+]>Cl.C(O)(=O)C.C(Cl)(Cl)Cl.O>[CH3:1][O:2][C:3]1[C:4]([C:8]([N:10]=[N+:11]=[N-:12])=[O:9])=[CH:5][S:6][CH:7]=14-Methoxy-3-thiophenecarboxylic acid hydrazide (20 g, 0.116 mol) in 3N hydrochloric acid (200 ml), acetic acid (200 ml) and chloroform (300 ml) was cooled to 0°. Sodium nitrite (8 g, 0.116 mol) in water (25 ml) was added dropwise whilst maintaining the temperature at 0°. On completion of the addition the reaction mixture was allowed to warm up to room temperature. The organic layer was separated, washed with sodium bicarbonate solution (3 times), dried over sodium sulphate and the solvent evaporated without heat to give the title compound as a buff-coloured solid, 21.2 g.