The nine gates of the kingdom of shadows