Before the start of the play, he became the ruler of Denmark by pouring poison into the ear of his sleeping brother, King Hamlet. He then married Gertrude, King Hamlet's widow. In the play's first act, Prince Hamlet learns of his uncle's treachery by speaking to King Hamlet's ghost. Hamlet then arranges for a troupe of actors to perform a play titled The Murder of Gonzago, which Hamlet revises to increase the similarities to his father's death. He is disturbed by the performance, and storms out during the murder scene. Later, he prays for forgiveness, causing Hamlet to delay killing him out of fear that his soul would go to heaven. As Hamlet feigns madness, he sends him to England with Rosencrantz and Guildenstern, who unknowingly carry a letter calling for Hamlet's execution. After Hamlet escapes and returns to Denmark, he arranges for Hamlet to fight a duel with Laertes, who seeks revenge for the death of his father, Polonius, and sister, Ophelia. Laertes uses a poison-tipped sword, and he prepares a poisoned drink as a back-up. When Laertes falls in combat he reveals the plot, prompting Hamlet to stab him with the poisoned sword, and make him drink from the poisoned cup.