When the Jews returned from their captivity in Babylon, Nehemiah determined their families lineage by witnesses.

    Without the records that were lost when the Temple was burned, they couldn't determine who truly belonged to the priesthood.