Legal documents--History