By 23 July, 103 miles had been laid, but the project was continually under attack from Mahdists based in Abu Hamad. Kitchener ordered General Archibald Hunter to advance from Merawi and eliminate the threat.