When much time had been spent and many on both sides (not less of the Persians than of their enemies) slain, Amasis the general of the foot soldiers devised a plot, knowing that Barce could not be taken by force but might be taken by guile: he dug by night a wide trench and laid frail planks across it, which he then covered over with a layer of earth level with the ground about it.