In Denmark, the King Hamlet has died. His brother, Claudius marries Queen Gertrude and becomes the new King.
"In the same figure like the king that’s dead" (1.1.39)
Revenge his foul and most unnatural murder. (1.5.25)
A group of soldiers sees the ghost of the dead King Hamlet. They go to Prince Hamlet and tell what they saw. Hamlet sees his father's ghost and discovered he was murdered using poison by his uncle, Claudius, who becomes the new king.
King Claudius hire Rosencrantz, Guildenstern, and Polonius to spy on Hamlet. Hamlet tries to find out if Claudius killed his father. He requests for actors to act out a play of a king being poisoned in the ear. If Claudius feels guilty Hamley will know if he killed his father.
That you vouchsafe your rest here in our court, some little time so by your companies (2.2.13-14)
After seeing the play Claudius leaves to pray for forgiveness for killing Hamlet’s father. Hamlet was going to kill him but didn’t want him to go straight to heaven while praying. Hamlet then stabs Polonius through the curtain.
A brother’s murder. Pray can I not, though inclination be as sharp as will. (3.3.39-40)
Hamlet tells his mother that he is disgusted with her choice to marry Claudius. Claudius sends Hamlet to England and gives an order to have him executed in a note. Hamlet escapes and returns home to find Ophelia dead. He is then challenged to a fencing match by Laertes.
One woe doth tread upon another’s heel, So fast they follow.—Your sister’s drowned, Laertes. (4.7.159-160)
At the fencing match, Claudius poisons a cup and Laertes poisoned the tip of his sword. The queen drinks from the cup and Laertes stabs Hamlet with the sword. Hamlet then stabs Laertes with the poisoned sword. He then makes Claudius drink from the poisoned cup and stabs him with the sword. In the end, Horatio tells the story and Fortinbras becomes the new king.
It is a poison tempered by himself. Exchange forgiveness with me, noble Hamlet. (5.2.323-324)