One sixteenth-century event that definitely influenced the works of William Shakespeare, and Hamlet in particular, was the Protestant Reformation. This was the effort, led by Martin Luther, to reform the Catholic Church—an effort that eventually led to a major break with Catholicism and the establishment of many separate Protestant churches. Lutheranism was one form of Protestantism; Calvinism was another form; and, in England, Anglicanism was yet another form. No other event of the sixteenth-century, perhaps, had a more important impact on Elizabethan culture as a whole and on Shakespeare’s writings in particular.
Shakespeare’s Hamlet presents a particularly interesting case when viewed in terms of the Protestant Reformation. Many critics have argued that the play takes a strongly Protestant view of religious matters, especially of the ghost. Many Protestants (especially Puritans) of the time would have seen the ghost as a spirit of evil, sent from the devil to tempt and corrupt Hamlet’s soul. Many Catholics, however, might have been more willing to see the ghost as a figure momentarily freed from Purgatory in order to help Hamlet serve as a “scourge of God”—a figure used by God to punish earthly evil.
To make matters even more complicated, while it has been traditional to imagine Shakespeare himself as a loyal Anglican (that is, a follower of the established Church of England, with Queen Elizabeth as its head), some recent scholars have provocatively argued that Shakespeare’s own religious sympathies were strongly (if secretly) Catholic. These scholars believe that Shakespeare could not openly express his Catholic religious opinions because Catholicism was technically illegal during the reigns of Queen Elizabeth and King James. Yet they think he managed to imply his opinions in his works.
Hamlet himself is fully aware of the conflicting religious opinions of the time concerning ghosts, and he makes his awareness explicit, for instance, in the following words addressed to the ghost:
Hamlet.Angels and ministers of grace defend us!
Be thou a spirit of health or goblin damn'd,
Bring with thee airs from heaven or blasts from hell,
Be thy intents wicked or charitable,
Thou com'st in such a questionable shape
That I will speak to thee.
If the religious situation in Renaissance England had not been so complicated, Hamlet might have had a much more certain opinion about the nature and intentions of the ghost.
For an especially interesting discussion of these matters, see the excerpt from Eleanor Prosser's book, cited below.