Treatment of 3-(3-pyridyl)acrylic acid (I) with oxalyl chloride afforded the corresponding acid chloride (II). This was coupled with 1-trimethylsilyl-2-pyrrolidinone (IV) (prepared from pyrrolidinone (III) and hexamethyldisilazane), to produce the target imide.