Jon pledges loyalty to Daenerys, but then stabs her. Drogon melts the Iron Throne in a rage but doesn't harm Jon, takes Dany's body and flies away somewhere.
Bran becomes King by vote of basically the most important people left (Sansa, Arya, Gendry, Grandmaester Samwell Tarly, Davos, Brienne, Robin Arryn, the new Dornish ruler, Yohn Royce of The Vale, Yara Greyjoy, Edmure Tully).
Bran makes Tyrion his Hand. His council so far is Tyrion, Davos, Bronn, Brienne, and Sam.
To appease Grey Worm who wants to see Jon punished for Daenerys, Bran sends Jon back to The Night's Watch, where he reunites with Tormund and Ghost.
Arya sails west of Westeros to explore. Sansa is Queen of an independent North.