apparently , she had gotten mixed up with a particularly nasty witch who was attempting to enhance her own powers through the aid of black magic , magic that has been outlawed by the council since the seventeenth century .