Complex sentence: Muhammad and his followers camped outside of Mecca, and Muhammad met with Meccan emissaries who wished to prevent pilgrims entry into Mecca but after negotiations the two parties decided to resolve the matter through diplomacy rather than warfare, and a treaty was drawn up.
Split into simpler sentences: Muhammad and his followers camped outside of Mecca, and Muhammad met with Meccan emissaries who wished to prevent the pilgrims' entry into Mecca. After negotiations the two parties decided to resolve the matter through diplomacy rather than warfare, and a treaty was drawn up.