That does not clear any confusion up for me.Bran is the three-eyed raven and he became king in the end.
Ah good! I thought for a few moments that I may be the stupidest person on the planet to have watched all the GOT and not seen this major spoiler that revealed the end of the story.It's a funny hindsight prediction, but not a real spoiler imho.
Right from the first book that came out in 1996, Bran started having dreams about this three-eyed crow and his messeges to Bran. So then Bran, Hodor and Jojen Reed set out north to find him. They did find him and Bran became a greenseer (a person who can perceive future, past or distant events). Bran is also a warg who can enter the mind of animals and, as it turned out, also some humans like Hodor. All this was known to the writers of GoT as well as all book readers. No new book as been released during the series 8 year run.