 The Sulaym under the Dhakwani chief Sufyan ibn 'Abd Shams continued to fight alongside the Quraysh at the Battle of the Trench in 627, but by the time Muhammad victoriously entered Mecca in January 630, the vast majority of the Sulaym had converted to Islam and defected to his side.They fought alongside Muhammad and the Quraysh against a coalition of pagan Arab tribes at the Battle of Hunayn later that year; only Sufyan ibn 'Abd Shams's son Abu'l-A'war fought alongside the pagans.Most of the Sulaym apostatized from Islam during the caliphate of Abu Bakr, following the death of Muhammad in 632.