Abraxas was the god who was both god and devil.