 The Egyptian magical system, known as heka, was greatly altered and expanded after the Macedonians, led by Alexander the Great, invaded Egypt in 332 BC.Under the next three centuries of Hellenistic Egypt, the Coptic writing system evolved, and the Library of Alexandria was opened.This likely had an influence upon books of magic, with the trend on known incantations switching from simple health and protection charms to more specific things, such as financial success and sexual fulfillment.