[NH2:1][C@@H:2]1[C:8](=[O:9])[N:7]([CH2:10][C:11](OCC)=[O:12])[C:6]2[CH:16]=[CH:17][C:18]([Cl:20])=[CH:19][C:5]=2[S:4][C@H:3]1[C:21]1[CH:26]=[CH:25][CH:24]=[CH:23][CH:22]=1.[NH3:27]>CO>[NH2:1][C@@H:2]1[C:8](=[O:9])[N:7]([CH2:10][C:11]([NH2:27])=[O:12])[C:6]2[CH:16]=[CH:17][C:18]([Cl:20])=[CH:19][C:5]=2[S:4][C@H:3]1[C:21]1[CH:26]=[CH:25][CH:24]=[CH:23][CH:22]=1In the same manner as in (iv) of Example 23, 1.7 g of ethyl trans-3-amino-8-chloro-4-oxo-2-phenyl-2,3,4,5-tetrahydro-1,5-benzothiazepine-5-acetate is dissolved in 50 ml of methanol, into which ammonia gas is blown to the level of saturation under ice-cooling. The reaction temperature is slowly elevated to room temperature, and the mixture is allowed to stand still overnight. Then, the reaction mixture is concentrated under reduced pressure. The separated crystals are collected by filtration to give 1.4 g of trans-3-amino-8-chloro-4-oxo-2-phenyl-2,3,4,5-tetrahydro-1,5-benzothiazepine-5-acetamide, m.p. 225°-228° C.