Original: She is Asura's master, and was imprisoned by the gods in the depths of a volcano, under constant watch by the Demon God Gandhara.
Simplified: She had been imprisoned by the gods in the depths of a volcano, under constant watch by the Demon God Gandhara.