Since there were temple officials and spiritual leaders among the descendants of both Eleazar and Ithamar, assignments were made by drawing lots.