Benzyl alcohol (I) was treated with mesyl chloride and triethylamine in CH2Cl2 at 0 C, and the resulting mesylate (II) was subsequently coupled with 2-methyl-8-hydroxyquinoline (III) in the presence of NaH to afford ether (IV). Reduction of the nitro group of (IV) with hydrazine in the presence of FeCl3 and carbon gave aniline (V). Pyrrole (VII) was then obtained by heating (V) with 2,5-dimethoxy tetrahydrofuran (VI) in AcOH. Further reaction of (VII) with chlorosulfonylisocyanate (VIII) at low temperature provided the 2-cyanopyrrole (IX). The cyano group of (IX) was reduced with LiAlH4 to give amine (X). This was finally condensed with pyridinylacrylic acid (XI) using EDC and HOBt to yield the target amide, which was isolated as the dihydrochloride salt.