NEW MATERIAL: A new compd. is represented by formula I [wherein (n) is 0 or 1; (m) is 0-2; X and Y are halogen, alkyl, alkoxy, alkylthio, dialkylamino, alkylamino, NH2, NO2, CN, SH, OH, CF3; R is H, alkyl, cycloalkylalkyl, alkenyl, hydroxy-alkyl, CN, alkylcarbonyl, alkanoyl or the group represented by formula II (X1 is X); (p) is 0-2; (q) is 0-5, etc.], its geometrical isomers, optical antipodes and acid addition salts.
EXAMPLE: 1-(4Fuluorophenyl)3-(4-methyl1-piperazinyl)1H-indazole.
USE: A pharmaceutical agent having activity for analgesic, spasmolytic and/or antidepressant.
PREPARATION: For example 1-[(phenylhydrazon) (phenyl)methyl] piperazines represented by formula III (Z is F or Cl) are treated with base in the presence of inert org. solvent to obtain the compds. represented by formula I.