By condensation of 6-(4aminophenyl)2,3,4,5-tetrahydropyridazin-3-one (I) with 4-bromopyridine (II) in hot DMF, followed by extraction of the free base with Na2CO3 and treatment with ethanolic HCl.