Claudius murdered King Hamlet by pouring poison into his ear while he slept in the orchard. Hamlet learns this directly from the ghost of his father, who appears on the battlements and reveals the "foul and most unnatural murder," setting the revenge plot in motion.