Magic practice was actively discouraged by the church, but remained widespread in folk religion throughout the medieval period. Magical thinking became syncretized with Christian dogma, expressing itself in practices like the judicial duel and relic veneration. The relics had become amulets, and various churches strove to purchase scarce or valuable examples, hoping to become places of pilgrimage. As in any other economic endeavour, demand gave rise to supply. Tales of the miracle-working relics of the saints were compiled later into quite popular collections like the Golden Legend of Jacobus de Voragine or the Dialogus miraculorum of Caesar of Heisterbach.
Renaissance humanism saw a resurgence in hermeticism and Neo-Platonic varieties of ceremonial magic. The Renaissance and the Industrial Revolution, on the other hand, saw the rise of scientism, in such forms as the substitution of chemistry for alchemy, the dethronement of the Ptolemaic theory of the universe assumed by astrology, the development of the germ theory of disease, that restricted the scope of applied magic and threatened the belief systems it relied on.
Study of the occult arts remained intellectually respectable well into the 17th century, and only gradually divides into the modern categories of natural science vs. occultism or superstition. The 17th century sees the gradual rise of the "age of reason", while belief in witchcraft and sorcery, and consequently the irrational surge of Early Modern witch trials, receded, a process only completed at the end of the Baroque period or in ca. the 1730s. Christian Thomasius still met opposition as he argued in his 1701 Dissertatio de crimine magiae that it was meaningless to make dealing with the devil a criminal offence, since it was impossible to really commit the crime in the first place. In Britain, the Witchcraft Act of 1735 established that people could not be punished for consorting with spirits, while would-be magicians pretending to be able to invoke spirits could still be fined as con artists.
For more info on magic, please visit:
http://saturnufo.customspel.hop.clickbank.net/

