The three-mile long Maratha Ditch was excavated in 1742 as a protection against the marauding Maratha soldiers then foraging in the countryside but who never came.