The Bartimaeus Trilogy or Sequence is a series of children's novels of alternate history, fantasy and magic. It was written by British writer Jonathan Stroud and consists of a trilogy published from 2003 to 2005 and a prequel novel published in 2010.