[C:1]([N:4]1[CH2:9][CH2:8][C:7]2[C:10]([CH2:14][CH2:15]Cl)=[C:11]([CH3:13])[S:12][C:6]=2[CH2:5]1)(=[O:3])[CH3:2].[CH3:17][NH:18][CH3:19].C(O)C>>[C:1]([N:4]1[CH2:9][CH2:8][C:7]2[C:10]([CH2:14][CH2:15][N:18]([CH3:19])[CH3:17])=[C:11]([CH3:13])[S:12][C:6]=2[CH2:5]1)(=[O:3])[CH3:2]A mixture of 0.8 g of 6-acetyl-3-(2-chloroethyl)-4,5,6,7-tetrahydro-2-methylthieno[2,3-c]pyridine and 20 ml of 16.8% dimethylamine-ethanol solution in a pressure bottle was stirred at 80° C. for 5 hours and then the solvent was distilled away. To the residue was added water and extracted with ethyl acetate. The extract was washed with water, dried and concentrated in vacuo to give 0.4 g of 6-acetyl-3-(2-dimethylaminoethyl)-4,5,6,7-tetrahydro-2-methylthieno[2,3-c]pyridine as an oil.