Battle of Khandaq
The Battle of Khandaq, also known as the Battle of the Trench, took place in 627 CE during the early years of Islam. It was fought between the Muslim community of Medina, led by the Prophet Muhammad, and a coalition of tribes, including the Quraysh. The Muslims dug a trench around the city to defend against the attackers, which was a strategic move inspired by the advice of Salman the Persian.
The battle lasted for several weeks, with the coalition unable to breach the trench. Eventually, harsh weather and internal disputes weakened the attackers, leading to their withdrawal. The successful defense solidified the position of the Muslims in Medina and marked a turning point in the early Islamic community's struggle for survival.