Paulicianism

Paulicianism was a Christian Gnostic heresy influenced by Manichaeism, originating in Armenia. There were five pentarchs and autocephalous patriarchs under kings, and there was always a patriarch regardless of if the religion was landed.