[CH3:1][C:2]1[CH:3]=[C:4]2[C:8](=[C:9]([C:11]([OH:13])=[O:12])[CH:10]=1)[NH:7][CH:6]=[CH:5]2.[C:14](=O)([O-])[O-].[K+].[K+].CI.C(O)(=O)CC(CC(O)=O)(C(O)=O)O>CN(C=O)C>[CH3:1][C:2]1[CH:3]=[C:4]2[C:8](=[C:9]([C:11]([O:13][CH3:14])=[O:12])[CH:10]=1)[NH:7][CH:6]=[CH:5]2To 5-methyl-1H-indole-7-carboxylic acid (1.1 g), potassium carbonate (1.3 g) was added DMF (22 mL), and then methyl iodide (1.3 mL) was added thereto under ice-cooling. After stirring at room temperature overnight, the reaction mixture was adjusted to pH 3 by adding a 10% aqueous citric acid solution. The mixture was extracted with ethyl acetate, and the obtained organic layer was washed with water, dried over anhydrous sodium sulfate, filtered, and concentrated under reduced pressure. The residue was purified by silica gel column chromatography (hexane/ethyl acetate: 95/5-85/15) to obtain methyl 5-methyl-1H-indole-7-carboxylate (1.2 g).