[CH3:1][S:2][C:3]1[S:7][C:6]([C:8]([O:10][CH2:11][CH3:12])=[O:9])=[C:5]2[CH2:13][CH2:14][CH2:15][C:16](=[O:17])[C:4]=12.P(Cl)(Cl)(Cl)=O.[CH:23]([Cl:26])(Cl)Cl>CN(C)C=O>[Cl:26][C:23]1[C:4]2[C:5](=[C:6]([C:8]([O:10][CH2:11][CH3:12])=[O:9])[S:7][C:3]=2[S:2][CH3:1])[CH2:13][CH2:14][C:15]=1[CH:16]=[O:17]Ethyl 4,5,6,7-tetrahydro-3-methylthio-4-oxobenzo[c]thiophene-1-carboxylate (5.47 g) was dissolved in chloroform (130 ml) and added dropwise to a solution of phosphorus oxychloride (50.71 g) in N,N-dimethylformamide (40 ml) at 0° C. This mixture was stirred at room temperature, after which it was refluxed under heating in a nitrogen stream for 4.5 hours. The reaction mixture was poured over ice water and extracted with ethyl acetate. The organic layer was washed with water and dried (MgSO4), after which the solvent was distilled off to yield ethyl 4-chloro-5-formyl-6,7-dihydro-3-methylthiobenzo[c]thiophene-1-carboxylate (4.72 g, 73.8%), which was then recrystallized from ethyl acetate. Yellow prisms. Melting point 79-80° C.