c. 1300, from Old French ire "anger, wrath, violence" (11c.), from Latin ira "anger, wrath, rage, passion," from PIE root *eis- (1), forming various words denoting passion (source also of Greek hieros "filled with the divine, holy," oistros "gadfly," originally "thing causing madness;" Sanskrit esati "drives on," yasati "boils;" Avestan aesma "anger;" Lithuanian aistra "violent passion").
Old English irre in a similar sense is unrelated; it is from an adjective irre "wandering, straying, angry," which is cognate with Old Saxon irri "angry," Old High German irri "wandering, deranged," also "angry;" Gothic airzeis "astray," and Latin errare "wander, go astray, angry" (see err (v.)).
word-forming element forming nouns meaning "rule or government by," from French -cratie or directly from Medieval Latin -cratia, from Greek -kratia "power, might; rule, sway; power over; a power, authority," from kratos "strength," from PIE *kre-tes- "power, strength," suffixed form of root *kar- "hard." The connective -o- has come to be viewed as part of it. Productive in English from c. 1800.
<a href="https://www.etymonline.com/word/hierocracy">Etymology of hierocracy by etymonline</a>
Harper, D. (n.d.). Etymology of hierocracy. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/hierocracy