[CH3:1][N:2]1[CH2:7][CH2:6][N:5]([C:8]2[CH:13]=[CH:12][C:11]([N+:14]([O-:16])=[O:15])=[CH:10][C:9]=2[NH:17][C:18](=[O:20])[CH3:19])[CH2:4][CH2:3]1.[H-].[Na+].[CH3:23]I.[Cl-].[NH4+]>CN(C=O)C>[CH3:23][N:17]([C:9]1[CH:10]=[C:11]([N+:14]([O-:16])=[O:15])[CH:12]=[CH:13][C:8]=1[N:5]1[CH2:6][CH2:7][N:2]([CH3:1])[CH2:3][CH2:4]1)[C:18](=[O:20])[CH3:19]To a mixture of N-[2-(4-methylpiperazin-1-yl)-5-nitrophenyl]acetamide (433 mg) and DMF (5 mL), 63% sodium hydride in oil (66 mg) was added under ice cooling and stirred at room temperature for 1 hour. The reaction liquid was ice cooled again, and methyl iodide (0.11 mL) was added and stirred at room temperature for 4 hours. The reaction liquid was poured into saturated aqueous ammonium chloride and extracted with ethyl acetate. The organic layer was washed with saturated aqueous sodium chloride and then dried over anhydrous sodium sulfate, and the solvent was distilled off under reduced pressure. The residue was purified by silica gel column chromatography (eluent; chloroform:methanol) to give N-methyl-N-[2-(4-methylpiperazin-1-yl)-5-nitrophenyl]acetamide (200 mg) as an orange solid.