In their original monarchian dualist story, Bogomils taught that God had two sons, the elder Satanail and the younger Michael. Satanail rebelled against the father and became an evil spirit. He created the lower heavens and the Earth and tried in vain to create man, though in the end he had to appeal to God for the Spirit. After creation, Adam was allowed to till the ground on condition that he sold himself and his posterity to the owner of the Earth, Satanail.