 Muawiyah subsequently broke the conditions of the agreement and established the Umayyad dynasty, with a capital in Damascus.Husayn ibn Ali, by then Muhammad's only living grandson, refused to swear allegiance to the Umayyads.He was killed in the Battle of Karbala the same year, in an event still mourned by Shia on the Day of Ashura.