[Cl:1][C:2]1[CH:10]=[CH:9][C:8]2[NH:7][C:6]3[CH2:11][CH2:12][N:13]([CH3:15])[CH2:14][C:5]=3[C:4]=2[CH:3]=1.[CH3:16][O:17][C:18]1[CH:23]=[CH:22][C:21]([CH:24]=[CH2:25])=[CH:20][N:19]=1.[OH-].[K+].[CH3:28]N1C(=O)CCC1>>[Cl:1][C:2]1[CH:10]=[CH:9][C:8]2[N:7]([CH2:25][CH2:24][C:21]3[CH:20]=[N:19][C:18]([O:17][CH2:16][CH3:28])=[CH:23][CH:22]=3)[C:6]3[CH2:11][CH2:12][N:13]([CH3:15])[CH2:14][C:5]=3[C:4]=2[CH:3]=1The title compound is prepared from a mixture of 8-chloro-2,3,4,5-tetrahydro-2-methyl-1H-pyrido[4,3-b]indole, 2-methoxy-5-vinylpyridine and KOH (5-7 equiv) in NMP at a temperature ranging between 25 deg C. to 100 deg C. The product obtained is isolated by preparative HPLC.