The Tragedy of Hamlet, Prince of Denmark is a tragedy play by William Shakespeare. It is one of his best-known plays, and many lines have become famous quotations. The play is often just called Hamlet.
Hamlet was written between 1600 and 1602, and first printed in 1603. With 4042 lines and 29551 words, Hamlet is the longest Shakespearean play.