The entire fighting force with him attacked, approaching the city, and camped on the north side of Ai, with a ravine between them and Ai. 