[NH2:1][C:2]1[CH:3]=[C:4]([NH:8][C:9](=[O:11])[CH3:10])[CH:5]=[CH:6][CH:7]=1.[N+]([C:15]1C=CC=CC=1S(Cl)(=O)=O)([O-])=O.IC.C(=O)([O-])[O-].[K+].[K+].C(O)(=O)CS>C(N(CC)CC)C>[CH3:15][NH:1][C:2]1[CH:3]=[C:4]([NH:8][C:9](=[O:11])[CH3:10])[CH:5]=[CH:6][CH:7]=1N-(3-Aminophenyl)acetamide was treated with 2-nitrophenylsulfonyl chloride in the presence of triethylamine and then the resulting compound was treated with iodomethane and potassium carbonate. Thereafter, the product was treated with thioglycolic acid to obtain N-[3-(methylamino)phenyl]acetamide.