Concept:The Battle of the Ditch is also known as the Battle of Al-Khandaq, a famous defensive battle in early Islamic history.Explanation:The Battle of the Ditch took place in the year 627 C.E.It is called the Battle of the Ditch because the Muslims dug a trench around Madinah to defend the city.The battle was fought between the Muslims led by Prophet Muhammad (peace be upon him) and the allied tribes of the Quraish.The siege ended when the allies withdrew, leading to a major Muslim victory.Answer:The correct option is C. 627 C.E.