Pyridine (V) was prepared by Hantsch synthesis upon condensation of ketothioester (I), aldehyde (II) and enamino ester (III), followed by oxidative aromatization of the resulting dihydropyridine (IV) with chloranil, according to a reported method. N-Alkylation of pyridine (V) with iodomethane in hot nitromethane in a sealed tube under pressure furnished the title pyridinium salt.