Built by Akbar in 1565, a more embattled period than during Shahjahan's construction of the Red Fort in Delhi, the Agra Fort was conceived as a citadel with a moat on three sides and a river on the fourth.
The Agra Fort was very difficult to attack throughout history because it was surrounded by water.