Overview
The ghost of Hamlet's father is a character from William Shakespeare's play Hamlet. In the stage directions, he is referred to as "Ghost". His name is also Hamlet, and he is referred to as King Hamlet to distinguish him from the Prince, his son and the protagonist of the story.
He is loosely based on a legendary Jutish chieftain named Horwendill, who appears in Chronicon Lethrense and in Saxo Grammaticus' Gesta Danorum. According to oral tradition, the Ghost was originally played on stage by Shakespeare himself.
In Hamlet
The Ghost appears four times throughout the play: in Act I, Scene i; in the continuum of Act I, Scenes iv and v; and in Act III, Scene iv. The Ghost arrives shortly after midnight in at least two of the scenes, and in the other scenes, all that is known is that it is night.
From Wikipedia (CC BY-SA 4.0).