Br[CH2:2][C:3]1[CH:12]=[CH:11][C:6]([C:7]([O:9][CH3:10])=[O:8])=[CH:5][N:4]=1.[CH3:13][NH:14][CH3:15].O>O1CCCC1>[CH3:13][N:14]([CH2:2][C:3]1[CH:12]=[CH:11][C:6]([C:7]([O:9][CH3:10])=[O:8])=[CH:5][N:4]=1)[CH3:15]To a solution of methyl 6-bromomethylnicotinate (350 mg) in tetrahydrofuran (5 ml) was added a 50% aqueous dimethylamine solution (3 ml), and the mixture was vigorously stirred at room temperature for 10 minutes. To the reaction mixture was added water and the mixture was extracted with ethyl acetate. The organic layer was washed with water and brine, dried over anhydrous sodium sulfate, and the solvent was removed under reduced pressure. The resulting residue was purified by silica gel column chromatography (solvent: chloroform:methanol=100:1) to obtain methyl 6-(dimethylamino)methylnicotinate (276 mg) as brownish powder.