Founded to the east of the river , it was protected from the yearly Nile flood and surrounded by a high wall to guard against invaders .
There was only one invasion attempt that the high wall guarded .