1 Chronicles 24:31
Like the descendants of Aaron, they were assigned to their duties by means of sacred lots, without regard to age or rank. Lots were drawn in the presence of King David, Zadok, Ahimelech, and the family leaders of the priests and the Levites.