The reactions are shown in flow diagram V wherein P is a protecting group and Hal is F, Cl, Br, or I, preferably F.##STR00011##Compounds of formula XIII wherein n is 1 and R.sub.5, R.sub.6 and R.sub.7 are H (XIIIb) may be prepared by reacting an indazole amine of formula XX with di(2-chloroethyl)amine hydrochloride to give the corresponding piperazinyl indazole offormula XXI, protecting said formu