According to Herman te Velde, the demonization of Set took place after Egypt's conquest by several foreign nations in the Third Intermediate and Late Periods.
Nevertheless, throughout this period, in some outlying regions of Egypt, Set was still regarded as the heroic chief deity.