Horatio is a character in
William Shakespeare's tragedy
Hamlet. Horatio's origins are unknown, although he was present on the battlefield when Hamlet's father defeated 'the ambitious Norway',
Fortinbras (the king), and attended
Wittenberg university with prince Hamlet. Horatio is evidently not directly involved in the intrigue at the Danish court; thus, he makes a good foil or sounding board for Prince Hamlet. He is often not identified as any specific court position, but simply as "friend to Hamlet."