 The idea of an explicit and ceremonial pact with the Devil was crucial to the development of the witchcraft concept, because it provided an explanation that differentiated the figure of the witch from that of the learned necromancer or sorcerer (whose magic was presumed to be diabolic in source, but with the power to wield it being achieved through rigorous application of study and complex ritual).A rise in the practice of necromancy in the 12th century, spurred on by an influx of texts on magic and diabolism from the Islamic world, had alerted clerical authorities to the potential dangers of malefic magic.This elevated concern was slowly expanded to include the common witch, but clerics needed an explanation for why uneducated commoners could perform feats of diabolical sorcery that rivaled those of the most seasoned and learned necromancers.