I want to know the answer to the following question:
Whose death in 1779 led to a civil war in Iran?
All the background I'm provided with is that "Another civil war ensued after the death of Karim Khan in 1779, out of which Aqa Mohammad Khan emerged, founding the Qajar Dynasty in 1794.". Is that enough to answer the question?