Sentence:  Spiritual magic or <WSD>theurgy</WSD> was based on the idea that one could reach God in an ascent up the scale of creation made possible by a rigorous course of prayer, fasting and devotional preparation. 
Meaning of the word marked with <WSD> tags:  A form of magic designed to allow for worship or conjuration of, or communication with spirits or deities.