The Battle of Karbala occurred because of the crisis that resulted from the succession of Yazid I, who was nominated as successor and broke the Hasan–Muawiya treaty.