[CH3:1][O:2][C:3]1[CH:8]=[CH:7][C:6]([C@H:9]2[C@@H:15]([OH:16])[C:14](=[O:17])[NH:13][C:12]3[CH:18]=[C:19]([CH3:23])[C:20]([CH3:22])=[CH:21][C:11]=3[S:10]2)=[CH:5][CH:4]=1.Cl.[CH3:25][N:26]([CH3:30])[CH2:27][CH2:28]Cl.C(=O)([O-])[O-].[K+].[K+]>CC(C)=O>[CH3:1][O:2][C:3]1[CH:8]=[CH:7][C:6]([C@H:9]2[C@@H:15]([OH:16])[C:14](=[O:17])[N:13]([CH2:28][CH2:27][N:26]([CH3:30])[CH3:25])[C:12]3[CH:18]=[C:19]([CH3:23])[C:20]([CH3:22])=[CH:21][C:11]=3[S:10]2)=[CH:5][CH:4]=1A mixture of 4.4 g of (+)-cis-2-(4-methoxyphenyl)-3-hydroxy-7,8-dimethyl-2,3-dihydro-1,5-benzothiazepin-4(5H)-one, 2.12 g of 2-(dimethylamino)ethyl chloride hydrochloride, 4.06 g of potassium carbonate and 200 ml of acetone is refluxed for 20 hours. After the reaction is completed, insoluble materials are removed by filtration and then washed with ethanol. The filtrate and the washing are combined and then evaporated to remove solvent. The residue is dissolved in ethyl acetate, and the solution is washed with water, dried and then evaporated to remove solvent. The residue is recrystallized from a mixture of ethyl acetate and n-hexane. 4.85 g of (+)-cis-2-(4-methoxyphenyl)-3-hydroxy-5-[2-(dimethylamino)ethyl]-7,8-dimethyl-2,3-dihydro-1,5-benzothiazepin-4(5H)-one are obtained.