Question: In what year was Ali killed?
Sentence: In the Hasan-Muawiya treaty, Hasan ibn Ali handed over power to Muawiya on the condition that he be just to the people and keep them safe and secure, and after his death he not establish a dynasty.
Answer in sentence: no