"Prentice Alvin" and the other books in the series all take place in an alternate American history, in the early nineteenth century. In this America, magic is everywhere, and each race has its own kind of magic, although not everyone wants to acknowledge that magic is real, calling it the work of the devil.