 The Muslim army entered and occupied Mecca in the year 630 CE.In 628 the Meccan tribe of Quraish and the Muslim community in Medina signed a truce called the Treaty of Hudaybiyya.Despite improved relations between Mecca and Medina after the signing of the "Treaty of Hudaybiyya", a 10-year peace was to be broken by Quraish who, with their allies, the tribe of "Bakr", attacked the tribe of "Khuza'ah" who were allies of the Muslims.