Parts of Speech for Prior
pri·or
P p Gramatical Hierarchy
Grammatically "Prior" is a noun, to be more precise even a noun. But also it is used as a adjective, specifically a noun. Part of speech depends on meaning of this word.
All about prior Download all about prior in pdf