C([O:3][C:4]([C:6]1[CH:7]=[C:8]([CH:28]=[CH:29][CH:30]=1)[C:9]([N:11]1[CH2:16][CH2:15][CH:14]([N:17]2[C:27]3[C:22](=[CH:23][CH:24]=[CH:25][CH:26]=3)[CH2:21][CH2:20][C:18]2=[O:19])[CH2:13][CH2:12]1)=[O:10])=O)C.[NH3:31].[Cl-].[NH4+]>C(O)C>[C:4]([C:6]1[CH:7]=[C:8]([CH:28]=[CH:29][CH:30]=1)[C:9]([N:11]1[CH2:16][CH2:15][CH:14]([N:17]2[C:27]3[C:22](=[CH:23][CH:24]=[CH:25][CH:26]=3)[CH2:21][CH2:20][C:18]2=[O:19])[CH2:13][CH2:12]1)=[O:10])(=[O:3])[NH2:31]1-[1-(3-Ethoxycarbonylbenzoyl)-4-piperidinyl]-3,4-dihydrocarbostyril (0.5 g), aqueous ammonia (10 ml) and ammonium chloride (the affective amount as a catalyst) are dissolved in ethanol (10 ml) and the mixture is stirred at 110°-130° C. for 10 hours in an autoclave. Ethanol is distilled off under reduced pressure and the residue is extracted with methylene chloride. The organic layer is washed with water and saturated saline solution, dried with sodium sulfate and concentrated. The solvent is distilled off and the resulting residue is purified by silica gel column chromatography (solvent: methylene chloride:methanol=10:1) to give 1-[1-(3-carbamoylbenzoyl)-4-piperidinyl]-3,4-dihydrocarbostyril (0.15 g).