[CH3:1][O:2][C:3]1[CH:4]=[C:5]2[C:9](=[CH:10][CH:11]=1)[N:8]1[CH2:12][CH2:13][CH2:14][CH2:15][CH2:16][C:7]1=[C:6]2[CH:17]=O.C([O-])(=O)C.[NH4+].[N+:24]([CH2:27][CH3:28])([O-:26])=[O:25]>>[CH3:1][O:2][C:3]1[CH:4]=[C:5]2[C:9](=[CH:10][CH:11]=1)[N:8]1[CH2:12][CH2:13][CH2:14][CH2:15][CH2:16][C:7]1=[C:6]2[CH:17]=[C:27]([N+:24]([O-:26])=[O:25])[CH3:28]A stirred solution of 2-methoxy-7,8,9,10-tetrahydro-6H-azepino[1,2-a]indole-11-carboxaldehyde and ammonium acetate in nitroethane is heated to 100° C. for 1 h, cooled to room temperature and partitioned between ethyl acetate and water. The combined organic extracts are washed (water, brine), dried (sodium sulfate) and concentrated in vacuo to give the product.