[CH3:1][N:2]1[CH2:21][CH2:20][C:5]2[N:6]([CH2:14][C:15]([O:17]CC)=[O:16])[C:7]3[CH:8]=[CH:9][C:10]([CH3:13])=[CH:11][C:12]=3[C:4]=2[CH2:3]1.[OH-].[Na+].Cl>C(O)C>[CH3:1][N:2]1[CH2:21][CH2:20][C:5]2[N:6]([CH2:14][C:15]([OH:17])=[O:16])[C:7]3[CH:8]=[CH:9][C:10]([CH3:13])=[CH:11][C:12]=3[C:4]=2[CH2:3]1A mixture of ethyl 2-(1,2,3,4-tetrahydro-2,8-dimethylpyrido[4,3-b]indol-5-yl)acetate and NaOH in ethanol was stirred at 50° C. for 3 h after which it was cooled to RT and neutralized with conc. HCl. The solvent was removed under reduced pressure to obtain crude 2-(1,2,3,4-tetrahydro-2,8-dimethylpyrido[4,3-b]indol-5-yl)acetic acid.