A billion years ago, the three demons, Abnegazar, Rath and Ghast used their magical powers to subjugate the peoples of the earth. After a while, a race known as the timeless ones banished the evil 3 to eternal imprisonment beneath the earth.
Felix Faust found an incantation to release the demons and he teamed up with them to battle the Justice League.