1 Aaron's descendants were then divided into work groups. Aaron had four sons: Nadab, Abihu, Eleazar, and Ithamar.
2 But Nadab and Abihu died long before their father, without having any sons. That's why Eleazar and Ithamar served as priests.
3 David divided Aaron's descendants into groups, according to their assigned work. Zadok, one of Eleazar's descendants, and Ahimelech, one of Ithamar's descendants, helped David.
4 Eleazar's descendants were divided into sixteen groups, and Ithamar's were divided into eight groups, because Eleazar's family included more family leaders.
5 However, both families included temple officials and priests, and so to make sure the work was divided fairly, David asked God what to do.
6 As each group was assigned their duties, Shemaiah the son of Nethanel the Levite wrote down the name of the family leader in charge of that group. The witnesses were David and his officials, as well as Zadok the priest, Ahimelech the son of Abiathar, and the family leaders from the clans of the priests and the Levites.