A dualistic religion originally founded in Persia. Manichaean dualistic ideas may have influenced Bulgakov's vision of the spheres of Woland/Yeshua.
See the Catholic Encyclopedia on Manichaeism.