Since Eleazar's descendants had more men who were family heads than Ithamar's descendants, they were divided so that Eleazar's descendants had 16 family leaders and Ithamar's descendants had 8 family leaders.
Both groups were divided impartially by drawing lots so that there were officers for the holy place and officers for God among both Eleazar's and Ithamar's descendants.
The scribe Shemaiah was a son of Nethanel and a descendant of Levi. Shemaiah recorded their names in the presence of the king, the princes, the priest Zadok, Ahimelech (son of Abiathar), and the family leaders of the priests and Levites. One family was chosen for Eleazar, another for Ithamar.
These were their priestly groups when they went to serve at the Lord's temple. Their ancestor Aaron made these rules for them, as the Lord God of Israel had commanded him.
Jeriah (for Hebron's descendants), Amariah (the second {of Hebron's descendants}), Jahaziel (the third {of Hebron's descendants}), Jekameam (the fourth {of Hebron's descendants}),
They drew lots as their relatives, Aaron's descendants, had done. They drew them in front of King David, Zadok, Ahimelech, and the leaders of the families of the priests and Levites. The families of the oldest brother were treated the same way as those of the youngest.