O.NN.C1(=O)[N:8]([CH2:9][CH2:10][CH2:11][O:12][C:13]2[CH:18]=[CH:17][N:16]=[CH:15][CH:14]=2)C(=O)C2=CC=CC=C12.C(OCC)(=O)C>C(O)C>[NH2:8][CH2:9][CH2:10][CH2:11][O:12][C:13]1[CH:18]=[CH:17][N:16]=[CH:15][CH:14]=1Hydrazine monohydrate [2.99 ml (61.6 mmol)] was added to a suspension of 5.80 g (20.5 mol) of 4-(3-phthalimidopropyloxy)pyridine in 50 ml of ethanol, and the mixture was stirred at room temperature for 3 hours. 100 ml of ethyl acetate was added and insoluble materials were filtered off. The volatile component in the filtrate was distilled off and then chloroform was added to the residue. The mixture was washed with brine and dried over potassium carbonate. The solvent was distilled off to obtain 2.99 g of the desired compound (yield: 99.5%, pale yellow oil).