Question: who is king under the mountain after thorin dies
Answer: Upon Thorin 's death , the title passed to Dáin , his cousin and nearest heir .