Monocyclic pyrimidine and pyridine compounds having a benzyl amine substituent at the 4 position and a 5:6 bicyclic heteroaryl substituent at the 2 position of the pyrimidine or pyridine ring as well as optional aliphatic, functional and/or aromatic components substituted at other positions of the ring are disclosed. These compounds are inhibitors of the AAA proteasome complex containing p97 and are effective medicinal agents for treatment of diseases associated with p97 bioactivity such as cancer.本發明揭示單環嘧啶及吡啶化合物,其在嘧啶或吡啶環之4位處具有苄基胺取代基且在2位處具有5:6雙環雜芳基取代基以及在該環之其他位置處經可選脂肪族、官能及/或芳族組份取代。該等化合物係含有p97之AAA蛋白酶體錯合物之抑制劑,且係用於治療與p97生物活性有關之疾病(例如癌症)之有效醫用藥劑。