Answer
In 1326, Pope John XXII threatened to excommunicate anyone who practiced witchcraft, claiming it was a sin against God. He believed that witches were in league with the devil and that they could use their powers to harm others. His decree against witchcraft was based on the Malleus Maleficarum, a book that described the practices of witches and how to identify them.