[CH3:1][N:2]1[C:10]2[CH2:9][CH2:8][N:7]([S:11]([C:14]3[CH:19]=[CH:18][C:17]([CH3:20])=[CH:16][CH:15]=3)(=[O:13])=[O:12])[CH2:6][C:5]=2[CH:4]=[C:3]1[C:21]([O:23]CC)=[O:22].[OH-].[Na+]>C(O)C>[CH3:1][N:2]1[C:10]2[CH2:9][CH2:8][N:7]([S:11]([C:14]3[CH:19]=[CH:18][C:17]([CH3:20])=[CH:16][CH:15]=3)(=[O:13])=[O:12])[CH2:6][C:5]=2[CH:4]=[C:3]1[C:21]([OH:23])=[O:22]A solution ethyl 1-methyl-5-[(4-methylphenyl)sulfonyl]-4,5,6,7-tetrahydro-1H-pyrrolo[3,2-c]pyridine-2-carboxylate (1 eq) obtained from step I and NaOH (1.5 eq.) in ethanol was refluxed for 2 h Reaction mixture was concentrated under reduced pressure and neutralized to get 1-methyl-5-[(4-methylphenyl)sulfonyl]-4,5,6,7-tetrahydro-1H-pyrrolo[3,2-c]pyridine-2-carboxylic acid.