[CH2:1]([O:3][C:4]([N:6]1[CH2:11][CH2:10][N:9]([CH2:12][CH2:13][CH2:14][N:15]2C(=O)C3=CC=CC=C3C2=O)[CH2:8][CH2:7]1)=[O:5])[CH3:2].O.NN>C(O)C>[CH2:1]([O:3][C:4]([N:6]1[CH2:11][CH2:10][N:9]([CH2:12][CH2:13][CH2:14][NH2:15])[CH2:8][CH2:7]1)=[O:5])[CH3:2]To a solution of N-[3-(4-ethoxycarbonyl-1-piperazinyl)propyl]phthalimide (28.9 g) in ethanol (300 ml) was added 10% hydrazine hydrate (8.4 g). The resulting mixture was refluxed with stirring for 4 hours. The reaction mixture was cooled and then filtered. The filter cake was washed with ethanol. The filtrate and washing were combined and evaporated under reduced pressure. After the addition of an aqueous solution of sodium hydroxide to the residue, the mixture was extracted with chloroform The extract was washed with water, dried over magnesium sulfate and then evaporated under reduced pressure to give an oil of 3-(4-ethoxycarbonyl-1-piperazinyl)propylamine (10.9 g).