The death of Amr at the hands of Ali demoralized the Quraish and their allies. The men of the Banu Ghaftan came to feel that some supernatural power was helping the Muslims. The Holy Prophet sent his agents to work with the confederates and give them the message of Islam. The leader of Banu Ghaftan accepted Islam, and withdrew his contingent from the battlefield. The game of the confederates was to draw the Muslims into the open and defeat them. The Muslims under the command of the Holy Prophet did not fall into the trap. As the siege lengthened, the Arabs of the desert became weary of the prolonged struggle. Under these circumstances more Arab tribes left for their homes. The confederates also began to suffer on account of the scarcity of food and fodder. It was nature that struck the final blow at the confederates. One midnight, a strong storm lashed the countryside. Rain and fast blowing winds overturned the tents of the confederates and extinguished their fires. The Muslims were safe in their houses in Madina, but the confederates who had to bear the brunt of the fury of the storm, rain and hail were unnerved. Losing all hope of victory Abu Sufyan the Quraish leader mounted his camel and ordered a retreat. Thus miserably foiled, the great coalition which had appeared so invincible at the outset suffered a great reverse. The battle ended in the triumph of Islam. That raised the morale of the Muslims, and they came to believe that Islam was the truth against which the forces of falsehood could not maintain a stand. The Muslim victory in the Battle of the Ditch was due to the superior generalship and organizational skill of the Holy Prophet and the prodigies of valor on the part of Ali. The Battle of the Ditch struck the last nail in the coffin of the Quraish of Makkah. Thereafter the Quraish lost their initiative, which now passed on to the Muslims.