Jugurtha had divided his army into two detachments, one of which (composed of cavalry and the best of his infantry) lay south of the mountain on the right flank of the Romans, who were marching to the river Muthul, which lay parallel to the mountains, 18 miles to the south; the second lay further south, closer to the river (formed of war-elephants and the rest of the infantry).