[CH3:1][N:2]([CH2:4][C:5]1[CH:14]=[CH:13][C:8]([C:9]([O:11]C)=[O:10])=[CH:7][N:6]=1)[CH3:3].[ClH:15]>>[ClH:15].[CH3:3][N:2]([CH2:4][C:5]1[CH:14]=[CH:13][C:8]([C:9]([OH:11])=[O:10])=[CH:7][N:6]=1)[CH3:1]A mixture of methyl 6-(dimethylamino)methylnicotinate (256 mg) and 10N hydrochloric acid was refluxed overnight. After cooling, the reaction mixture was concentrated under reduced pressure to obtain 6-(dimethylamino)methylnicotinic acid hydrochloride (329 mg) as colorless powder.