He divided his army into three companies and had them lay in ambush in the fields. When he saw the people coming out of the city, he attacked and killed them.