They cast lots just as their relatives had done. Their relatives were in the family line of Aaron. They cast lots in front of King David, Zadok and Ahimelek. They did it in front of the family leaders of the priests. They also did it in front of the family leaders of the Levites. The families of the oldest brother were treated in the same way as the families of the youngest.