[CH3:1][C:2]1[NH:3][C:4]([CH3:43])=[C:5]([C:21]([O:23][CH2:24][CH2:25][CH2:26][CH2:27][CH2:28][CH2:29][CH2:30][CH2:31][N:32]2C(=O)C3=CC=CC=C3C2=O)=[O:22])[CH:6]([C:12]2[CH:17]=[CH:16][CH:15]=[C:14]([N+:18]([O-:20])=[O:19])[CH:13]=2)[C:7]=1[C:8]([O:10][CH3:11])=[O:9].O.NN>C(O)C>[CH3:43][C:4]1[NH:3][C:2]([CH3:1])=[C:7]([C:8]([O:10][CH3:11])=[O:9])[CH:6]([C:12]2[CH:17]=[CH:16][CH:15]=[C:14]([N+:18]([O-:20])=[O:19])[CH:13]=2)[C:5]=1[C:21]([O:23][CH2:24][CH2:25][CH2:26][CH2:27][CH2:28][CH2:29][CH2:30][CH2:31][NH2:32])=[O:22]A solution of 16 g of methyl 8-phthalimidooctyl 2,6-dimethyl-4-(m-nitrophenyl)-1,4-dihydropyridine-3,5-dicarboxylate and 6.8 g of hydrazine monohydrate in 160 ml of ethanol was refluxed for 2 hours under heating. Precipitates (solid) thus formed was removed by filtration. The filtrate was concentrated under reduced pressure and after adding chloroform to the residue, precipitates again removed by filtration. The filtrate was concentrated under reduced pressure, and the residue was subjected to silica gel column chromatography. The product was eluted with chloroform-methanol (8:2 v/v), and crude crystals were recrystallized from ethanol--petroleum ether to provide 6 g of 8-aminooctyl methyl 2,6-dimethyl-4-(m-nitrophenyl)-1,4-dihydropyridine-3,5-dicarboxylate.