O=[C:2]([CH2:7][CH2:8][CH:9]=[CH2:10])[C:3]([O:5][CH3:6])=[O:4].[C:11]1([NH:17]N)[CH:16]=[CH:15][CH:14]=[CH:13][CH:12]=1>C1C=CC=CC=1.C1(C)C=CC(S(O)(=O)=O)=CC=1>[CH3:6][O:5][C:3]([C:2]1[NH:17][C:11]2[C:16]([C:7]=1[CH2:8][CH:9]=[CH2:10])=[CH:15][CH:14]=[CH:13][CH:12]=2)=[O:4]The solution of methyl 2-oxo-5-hexenoate (19.5 g), phenylhydrazine (14.8 g) and anhydrous p-toluenesulfonic acid (0.5 g) in dry benzene was refluxed for 0.5 hour. The solution of anhydrous p-toluenesulfonic acid (35.3 g) in dry-benzene (150 ml) was added to the solution at 50° C. over five minutes. After being stirred at 50°-60° C. for 1 hour, the mixture was refluxed for 2 hours. After cooling, the reaction mixture was diluted with chilled water and extracted twice with ethyl acetate. The organic layer was washed with water and brine, dried over anhydrous magnesium sulfate, and evaporated in vacuo. The residue was purified by silica gel column chromatography (10% ethyl acetate-toluene) to give 3-allyl-2-indolecarboxylic acid methyl ester (13.6 g) as crystals.