early 15c., "philosopher, sage," from Middle English wys "wise" (see wise (adj.)) + -ard. Compare Lithuanian žynystė "magic," žynys "sorcerer," žynė "witch," all from žinoti "to know." The ground sense is perhaps "to know the future." The meaning "one with magical power, one proficient in the occult sciences" did not emerge distinctly until c. 1550, the distinction between philosophy and magic being blurred in the Middle Ages. As a slang word meaning "excellent" it is recorded from 1922.
"sorcery, witchcraft" among Africans in Africa and the West Indies, 1760, from a West African word, such as Efik (southern Nigeria) ubio "a thing or mixture left as a charm to cause sickness or death," Twi ebayifo "witch, wizard, sorcerer."