[S:1]1[CH:5]=[CH:4][CH:3]=[C:2]1[CH2:6][CH2:7]N.C=O.[ClH:11].[CH3:12][N:13](C=O)C>>[ClH:11].[S:1]1[C:2]2=[CH:6][CH:7]=[CH:12][NH:13][CH:3]2[CH2:4][CH2:5]12-thienylethlamine was reacted with formaldehyde to give the corresponding formimine, which was then added to a solution of hydrochloric acid in DMF, resulting in cyclization to tetrahydrothienopyridine hydrochloride. The DMF used was anhydrous, KF≦0.05%, to avoid formimine hydrolysis.