These were the divisions of the descendants of Aaron: The sons of Aaron were Nadab, Abihu, Eleazar and Ithamar.
But Nadab and Abihu died before their father did, and they had no sons; so Eleazar and Ithamar served as the priests.
With the help of Zadok a descendant of Eleazar and Ahimelek a descendant of Ithamar, David separated them into divisions for their appointed order of ministering.
A larger number of leaders were found among Eleazar’s descendants than among Ithamar’s, and they were divided accordingly: sixteen heads of families from Eleazar’s descendants and eight heads of families from Ithamar’s descendants.
They divided them impartially by casting lots, for there were officials of the sanctuary and officials of God among the descendants of both Eleazar and Ithamar.
The scribe Shemaiah son of Nethanel, a Levite, recorded their names in the presence of the king and of the officials: Zadok the priest, Ahimelek son of Abiathar and the heads of families of the priests and of the Levites—one family being taken from Eleazar and then one from Ithamar.
The first lot fell to Jehoiarib, the second to Jedaiah,
the third to Harim, the fourth to Seorim,
the fifth to Malkijah, the sixth to Mijamin,
the seventh to Hakkoz, the eighth to Abijah,
the ninth to Jeshua, the tenth to Shekaniah,
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 Jakin, the twenty-second to Gamul,
the twenty-third to Delaiah and the twenty-fourth to Maaziah.
This was their appointed order of ministering when they entered the temple of the LORD, according to the regulations prescribed for them by their ancestor Aaron, as the LORD, the God of Israel, had commanded him.
As for the rest of the descendants of Levi: from the sons of Amram: Shubael; from the sons of Shubael: Jehdeiah.
As for Rehabiah, from his sons: Ishiah was the first.
From the Izharites: Shelomoth; from the sons of Shelomoth: Jahath.
The sons of Hebron: Jeriah the first, Amariah the second, Jahaziel the third and Jekameam the fourth.
The son of Uzziel: Micah; from the sons of Micah: Shamir.
The brother of Micah: Ishiah; from the sons of Ishiah: Zechariah.
The sons of Merari: Mahli and Mushi. The son of Jaaziah: Beno.
The sons of Merari: from Jaaziah: Beno, Shoham, Zakkur and Ibri.
From Mahli: Eleazar, who had no sons.
From Kish: the son of Kish: Jerahmeel.
And the sons of Mushi: Mahli, Eder and Jerimoth. These were the Levites, according to their families.
They also cast lots, just as their relatives the descendants of Aaron did, in the presence of King David and of Zadok, Ahimelek, and the heads of families of the priests and of the Levites. The families of the oldest brother were treated the same as those of the youngest.