The Tragedy of Hamlet, Prince of Denmark, is a tragedy by William Shakespeare. Hamlet is Shakespeare's longest play and among the most powerful and influential tragedies in English literature, with a story capable of "seemingly endless retelling and adaptation by others." The play seems to have been one of Shakespeare's most popular works during his lifetime and still ranks among his most-performed.