3 With the help of Zadok and Ahimelech, David separated the priests into groups. Each group served in its appointed order and time. Zadok belonged to the family line of Eleazar. Ahimelech belonged to the family line of Ithamar.