Nathaniel is eleven years old and a magician's apprentice, learning the traditional arts of magic. All is well until he has a life-changing encounter with Simon Lovelace, a magician of unrivalled ruthlessness and ambition. When Lovelace brutally humiliates Nathaniel in public, Nathaniel decides to speed up his education, teaching himself spells way beyond his years. With revenge on his mind, he masters one of the toughest spells of all and summons Bartimaeus, a five-thousand-year-old djinni, to assist him. But summoning Bartimaeus and controlling him are two different things entirely, and when Nathaniel sends the djinni out to steal Lovelace's great treasure, he finds himself caught up in a whirlwind of magical espionage, murder, and rebellion.