[CH3:1][N:2]1[C:10]2[C:5](=[CH:6][CH:7]=[CH:8][CH:9]=2)[C:4]([CH:11]([CH2:15][CH2:16][CH3:17])[C:12]([OH:14])=[O:13])=[CH:3]1.S(=O)(=O)(O)O.[CH3:23]O>>[CH3:1][N:2]1[C:10]2[C:5](=[CH:6][CH:7]=[CH:8][CH:9]=2)[C:4]([CH:11]([CH2:15][CH2:16][CH3:17])[C:12]([O:14][CH3:23])=[O:13])=[CH:3]1A mixture of 2-(1-methyl-1H-indol-3-yl)pentanoic acid (12a) (1.22 g, 5.28 mmol) and concentrated sulfuric acid (1 mL) in methanol (40 mL) was refluxed for 3 hours. After concentration, the mixture was quenched with a saturated aqueous solution of sodium carbonate and the aqueous layer was extracted with dichloromethane (2×20 mL). The organic layer was dried over sodium sulfate, filtered and evaporated under reduced pressure. The residue was purified by flash chromatography on silica gel (cyclohexane/ethyl acetate 93/7) to afford the desired ester (12b) as a white solid (910 mg, 3.71 mmol, 70%).