1 Chronicles 24:31 NIV

31 They also cast lots,1 just as their brothers the descendants of Aaron did, in the presence of King David and of Zadok, Ahimelech, 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.

References for 1 Chronicles 24:31