The Accidental Sorcerer is the first book in the Rogue Agent series by Australian writer Karen Miller.
Gerald takes the job reluctantly, and soon discovers that the King may not have his best interest in mind.
The Accidental Sorcerer was published in September 2008 by Voyager Books, an imprint of HarperCollins.
[1] SF Site praised it for mixing humor with more serious themes[2] but SFF World felt the combination did not work.
[3] A reviewer for the Herald Sun described the work as a "Harry Potter for grown-ups tale".