Question: why did klaus mikaelson die?
Answer: Yes, Both Klaus and Elijah Die in the finale episode of season 5, Klaus made the sacrifice to take in all of the Hollows magic from his daughter in order to save her from its dark power and to kill himself so that the world would be rid of this evil dark magic forever.