[CH3:1][O:2][C:3]1[CH:4]=[C:5]([CH:9]=[CH:10][C:11]=1[N+:12]([O-:14])=[O:13])[C:6]([NH2:8])=[O:7].C(Cl)(=O)[C:16](Cl)=[O:17]>C(Cl)CCl>[CH3:1][O:2][C:3]1[CH:4]=[C:5]([CH:9]=[CH:10][C:11]=1[N+:12]([O-:14])=[O:13])[C:6]([N:8]=[C:16]=[O:17])=[O:7]To a solution of 3-methoxy-4-nitrobenzamide (1.00 g, 5.10 mmol) in EDC (10 mL) was added oxalyl chloride (0.64 g, 6.12 mmol). The reaction mass was refluxed for 24 h. Excess of solvent was removed under vacuum to afford 1.0 g of desired product.