Abstract: A new series of pyrazolylpyridines was prepared by reaction of ethyl-3-acetyl-1,5-diphenyl1H-pyrazole-4-carboxylate with the appropriate aldehyde, malononitrile, or ethyl acetoacetate and an excess of ammonium acetate under reflux in acetic acid. Similarly, two novel bipyridine derivatives were prepared by the above reaction using terephthaldehyde in lieu of benzaldehyde derivatives. In addition, a series of 1,2,4-triazolo[4,3-a]pyrimidines was synthesized by a reaction of 6-(pyrazol-3-yl)pyrimidine-2-thione with a number of hydrazonoyl chlorides in dioxane and in the presence of triethylamine. The structure of the produced compounds was established by elemental analyses and spectral methods, and the mechanisms of their formation was discussed. Furthermore, the pyrazolyl-pyridine derivatives were tested as anticancer agents and the results obtained showed that some of them revealed high activity against human hepatocellular carcinoma (HEPG2) cell lines.