Earlier this year, author and state archivist Jim Folts was conducting research for a new edition of a book on the history of New York's State Supreme Court and decided to turn his sights on a box containing writs of habeas corpus from the 1820s.