The divisions of the Aaronites: Aaron's family: Nadab, Abihu, Eleazar, and Ithamar.
Nadab and Abihu died before their father did, without having sons, and so Eleazar and Ithamar served as priests.
David, with the help of Zadok from Eleazar's family and Ahimelech from Ithamar's family, divided them according to their appointed duties.
Since Eleazar's family was found to have more male heads than Ithamar's family, they divided them so that Eleazar's family had sixteen household heads and Ithamar's family had eight.
They divided both groups by lots because there were holy leaders, even outstanding leaders, among both Eleazar's and Ithamar's descendants.
Shemaiah, Nethanel's son, the levitical scribe, recorded their names in the presence of the king; the leaders; Zadok the priest; Ahimelech, Abiathar's son; and the household heads of the priests and Levites. One household was taken from Eleazar followed by one from Ithamar.
The first lot fell to Jehoiarib, the second to Jedaiah,
the third to Harim, the fourth to Seorim,
the fifth to Malchijah, the sixth to Mijamin,
the seventh to Hakkoz, the eighth to Abijah,
the ninth to Jeshua, the tenth to Shecaniah,
the eleventh to Eliashib, the twelfth to Jakim,
the thirteenth to Huppah, the fourteenth to Jeshebeab,
the fifteenth to Bilgah, the sixteenth to Immer,
the seventeenth to Hezir, the eighteenth to Happizzez,
the nineteenth to Pethahiah, the twentieth to Jehezkel,
the twenty-first to Jachin, the twenty-second to Gamul,
the twenty-third to Delaiah, and the twenty-fourth to Maaziah.
These were to enter the LORD's temple according to their appointed duty and by the procedure established for them by their ancestor Aaron, just as the LORD God of Israel had instructed him.
The rest of the Levites included: from Amram's family: Shubael; from Shubael's family: Jehdeiah;
from Rehabiah and his family: Isshiah the first;
from the Izharites: Shelomoth; from Shelomoth's family: Jahath;
Hebron's family: Jeriah the first, Amariah the second, Jahaziel the third, Jekameam the fourth;
Uzziel's family: Micah; from Micah's family: Shamir;
Micah's brother Isshiah; from Isshiah's family: Zechariah;
Merari's family: Mahli, Mushi and his son Jaaziah's family;
Merari's family by his son Jaaziah: Shoham, Zaccur, and Ibri;
from Mahli: Eleazar, who had no sons;
from Kish and his family: Jerahmeel;
and Mushi's family: Mahli, Eder, and Jerimoth. These were the Levites according to their households.
Both the household head and his youngest brother cast lots, just as their relatives, Aaron's descendants, had done in the presence of King David, Zadok, Ahimelech, and the heads of the priestly and levitical households.