Condensation of 2-nitro-5-chlorophenylhydrazine (I) with cyanoaldehyde (II) afforded the aminopyrazole derivative (III). This was then cyclized to the target benzotriazine system upon treatment with aqueous NaOH.