What’s Up With the Title?

It's a tragedy. About a guy named Hamlet. Who's the prince of Denmark. Straightforward? Pretty much. The one thing we want to point out is that this title neatly ties together the personal (Hamlet) and the political (Denmark). Is Hamlet just on a personal quest for revenge? Or is he acting in the interest of the state? Or is there a difference at all?