1 Chronicles , CHAPTER 24
There were also divisions for the sons of Aaron. The sons of Aaron were Nadab, Abihu, Eleazar, and Ithamar.
Nadab and Abihu died before their father, leaving no sons; therefore only Eleazar and Ithamar served as priests.
David, with Zadok, a descendant of Eleazar, and Ahimelech, a descendant of Ithamar, apportioned them their offices in the priestly service.
But since the sons of Eleazar were found to be more numerous by male heads than those of Ithamar, the former were divided into sixteen groups, and the latter into eight groups, each under its family heads.
Their functions were assigned impartially by lot, for there were officers of the holy place, and officers of God, descended both from Eleazar and from Ithamar.
The scribe Shemaiah, son of Nethanel, a Levite, recorded them in the presence of the king, and of the officials, of Zadok the priest, and of Ahimelech, son of Abiathar, and of the heads of the ancestral houses of the priests and of the Levites, listing two successive family groups from Eleazar before each 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 Ishbaal,
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, the twenty-fourth to Maaziah.
This was the appointed order of their service when they functioned in the house of the LORD according to the precepts given them by Aaron, their father, as the LORD, the God of Israel, had commanded him.
Of the remaining Levites, there were Shubael, of the sons of Amram, and Jehdeiah, of the sons of Shubael;
Isshiah, the chief, of the sons of Rehabiah;
Shelomith of the Izharites, and Jahath of the sons of Shelomith.
The sons of Hebron were Jeriah, the chief, Amariah, the second, Jahaziel, the third, Jekameam, the fourth.
The sons of Uzziel were Micah; Shamir, of the sons of Micah;
Isshiah, the brother of Micah; and Zechariah, a descendant of Isshiah.
The sons of Merari were Mahli, Mushi, and the sons of his son Uzziah.
The sons of Merari through his son Uzziah: Shoham, Zaccur, and Ibri.
The sons of Mahli were Eleazar, who had no sons,
and Jerahmeel, of the sons of Kish.
The sons of Mushi were Mahli, Eder, and Jerimoth. These were the sons of the Levites according to their ancestral houses.
They too, in the same manner as their kinsmen, the sons of Aaron, cast lots in the presence of King David, Zadok, Ahimelech, and the heads of the priestly and levitical families; the more important family did so in the same way as the less important one.