[C:1]1(=[O:11])[NH:5][C:4](=[O:6])[C:3]2=[CH:7][CH:8]=[CH:9][CH:10]=[C:2]12.[K].O.[CH3:14][N:15](C)[CH:16]=[O:17]>>[C:1]1(=[O:11])[N:5]([CH:1]2[CH2:2][CH2:10][C:9]3[CH:8]=[CH:7][CH:3]=[CH:4][C:14]=3[NH:15][C:16]2=[O:17])[C:4](=[O:6])[C:3]2=[CH:7][CH:8]=[CH:9][CH:10]=[C:2]1280 g of the product which was obtained above were suspended in 140 ml of dimethylformamide. A solution of 72.6 g of potassium phthalimide in 205 ml of dimethylformamide was added to the suspension and the mixture was then stirred at 60° C. for 16 hours. For the working-up, it was cooled down to room temperature and 800 ml of water were slowly added dropwise; the mixture was then stirred for 2 hours while cooling with ice. The resulting crystal slurry was filtered out with suction, washed firstly with a water/dimethylformamide mixture and then with methyl tert-butyl ether, and subsequently dried at 60° C. for 2 days under reduced pressure. 73.3 g of 4,5-dihydro-3-phthalimido-1H-1-benzazepin-2 (3H) -one were obtained with a melting range of from 185° to 195° C.