Brown, Charles Brockden
"Edgar Huntly; or, Memoirs of a Sleep-Walker" by Charles Brockden Brown is a Gothic novel published in 1799. Set in rural Pennsylvania, it follows Edgar Huntly as he investigates his friend's murder. When he discovers a servant sleepwalking near the crime scene, Huntly begins a dangerous pursuit through the wilderness. But Huntly harbors his own dark secret—he too is a sleepwalker. His nocturnal wanderings lead him to awaken in a pitch-black cave, triggering a harrowing struggle for survival involving hostile encounters and shocking revelations. (This is an automatically generated summary.)
These books are free to read. Each is in the public domain in the United States; check your own country's rules before you copy or share one.