pyridine (9) was successfully synthesized from the starting material, pyrazole, via a sequence of reactions containing ring-closing metathesis as a key step.Suzuki-Miyaura coupling of 9 with various arylboronic acids, followed by oxidation or hydrogenation, readily afforded pyrazolo[1,5-a]pyridines (11) or 3-aryl-4,5,6,7-tetrahydropyrazolo[1,5-a]pyridines (12), respectively. Compounds 12 were found to be withasomnine homologs.