How did the Battle of the Trench protect Medina?
The Battle of the Trench, also known as the Battle of the Ditch, protected Medina in 627 CE by introducing a defensive innovation that countered the traditional warfare tactics of the time.12
When a Meccan-led coalition of 10,000 men arrived to besiege the city, Muhammad rejected the conventional practice of sallying out to meet the enemy in open battle—a strategy that had previously resulted in a defeat at Uḥud. Instead, following the suggestion of his companion Salmān al-Fārisī, the Muslims dug a deep trench across the city's vulnerable approaches.12
This fortification effectively neutralized the Meccan cavalry, who were unaccustomed to such obstacles and became frustrated by the stalemate. As the siege dragged on without success, the coalition of Bedouin tribes began to fracture and disperse. Ultimately, the trench forced the Meccans to abandon the siege, allowing the Muslim community to secure a significant victory that established their political and religious strength in the region.12