Frazer wrote in a preface to the third edition of "The Golden Bough" that while he had never studied Georg Wilhelm Friedrich Hegel, his friend James Ward, and the philosopher J. M. E. McTaggart, had both suggested to him that Hegel had anticipated his view of "the nature and historical relations of magic and religion". Frazer saw the resemblance as being that "we both hold that in the mental evolution of humanity an age of magic preceded an age of religion, and that the characteristic difference between magic and religion is that, whereas magic aims at controlling nature directly, religion aims at controlling it indirectly through the mediation of a powerful supernatural being or beings to whom man appeals for help and protection." Frazer included an extract from Hegel's "Lectures on the Philosophy of Religion" (1832).