warlock

A man who practices witchcraft — a sorcerer, wizard.

The name comes from Old English wǣrloga, "traitor, scoundrel, monster," from wǣr, "covenant," + an element related to lēoga, "belie, deny." It was applied to the Devil and from there the word was transferred in Middle English to a person in league with the Devil, and hence a sorcerer.