The condensation of nitroenamine (I) with aminoguanidine (II) afforded compound (III), which was subsequently cyclized to the title pyrazole by treatment with NaOH.