This fort is in the region where the Banu Qaynuqa lived, one of three main Jewish tribes in Madinah. They were the first to break the peace treaty with the Muslims.
The Well of Ghars is among historical wells in Madina. The Prophet Muhammad (PBUH) drank its water and told his companions to use water in this well to bath Him after His demise.
The battle is named after "trench", or khandaq, that was dug by Muslims in preparation for the battle. Salman the Persian advised Muhammad to dig a trench around the city.