Prince Hamlet is depressed after returning home from school in Germany to attend his father's funeral, surprised that his mother had already remarried. The ghost of his father tells Hamlet that he was murdered and cannot rest in peace. The play Hamlet, written by William Shakespeare, follows these events.