C([C:3]1([C:16]([O-:18])=O)[CH2:8][CH2:7][N:6]([C:9]([O:11][C:12]([CH3:15])([CH3:14])[CH3:13])=[O:10])[CH2:5][CH2:4]1)C.O.[NH2:20][NH2:21]>C(O)C>[NH:20]([C:16]([CH:3]1[CH2:8][CH2:7][N:6]([C:9]([O:11][C:12]([CH3:15])([CH3:14])[CH3:13])=[O:10])[CH2:5][CH2:4]1)=[O:18])[NH2:21]A mixture of 1-tert-butyl 4-ethylpiperidine-1,4-dicarboxylate (21 g), hydrazine monohydrate (40 mL), and ethanol (200 mL) was heated and refluxed for 22 hours. After leaving to be cooled, the solvent was evaporated under reduced pressure, to the residue were added saturated brine and ethyl acetate, and the organic phase was separated. The organic phase was dried over magnesium sulfate and the solvent was evaporated under reduced pressure. To the residue was added diisopropyl ether, followed by stirring for 1 hour, and the resulting solid was collected by filtration and dried under reduced pressure to obtain tert-butyl 4-(hydrazinocarbonyl)piperidine-1-carboxylate (17.8 g).