Shakespeare, like many of his contemporaries, was concerned with the question of the succession and the legitimacy of the monarch. From the early plays through the histories to Hamlet, Shakespeare's work is haunted by the problem of political legitimacy.