[NH:1]1[C:9]2[C:4](=[CH:5][CH:6]=[CH:7][CH:8]=2)[CH:3]=[CH:2]1.Br[CH2:11][CH2:12][CH2:13][C:14]([O:16][CH2:17][CH3:18])=[O:15].C(=O)([O-])[O-].[K+].[K+]>CN(C)C=O>[N:1]1([CH2:11][CH2:12][CH2:13][C:14]([O:16][CH2:17][CH3:18])=[O:15])[C:9]2[C:4](=[CH:5][CH:6]=[CH:7][CH:8]=2)[CH:3]=[CH:2]1A mixture of indole (11.7 g), ethyl 4-bromobutyrate (58.5 g) and potassium carbonate (41.5 g) in N,N-dimethylformamide (500 ml) was heated at 50° C. for 10 hours. The mixture was filtered and the filtrate was poured into a mixture of ethyl acetate and ice water. The organic layer was separated, washed with water, and dried over magnesium sulfate. After evaporation of the solvent, the residue was chromatographed on silica gel (1 kg) eluting with a mixture of methanol, chloroform and hexane (1:50:50) to give ethyl 4-(1-indolyl)butyrate (2.86 g) as a blue oil.