who is the third character depicted as?
As Hamlet's friend who has travelled to court from Wittenberg University.
Horatio (Hamlet)
He was present on the field when King Hamlet (Hamlet's father) defeated Fortinbras (the king of Norway), and he has travelled to court from Wittenberg University (where he was familiar with Prince Hamlet) for the funeral of King Hamlet. Hamlet is glad to see him, and Horatio remains at court without official appointment, simply as "Hamlet's friend". He is on relatively familiar terms with other characters.
who did shakespeare write his play hamlet for For the Elizabethan audience what is the genre of this play? A  tragedy who wrote this play? William Shakespeare what are the names of the characters appearing in this play? Prince Hamlet, King Claudius, Horatio and Ophelia are some of them.
wiki:5748894
Horatio (Hamlet) [SEP] Introduction
Horatio is a character in William Shakespeare's tragedy, "Hamlet". He was present on the field when King Hamlet (Hamlet's father) defeated Fortinbras (the king of Norway), and he has travelled to court from Wittenberg University (where he was familiar with Prince Hamlet) for the funeral of King Hamlet. Hamlet is glad to see him, and Horatio remains at court without official appointment, simply as "Hamlet's friend". He is on relatively familiar terms with other characters. For example, when Gertrude (the queen) is reluctant to admit the "distract" Ophelia, she changes her mind following Horatio's advice. Hamlet has departed for England by this point, and is not supposed to return.