It was a daytime soap that nobody expected to survive its first season — a Gothic melodrama set in a crumbling Maine estate, shot on a shoestring at ABC's studios in New York, with an audience that kept showing up anyway. When Dark Shadows premiered in June 1966, it was already on borrowed time. What saved it, most television historians will tell you, was a vampire in a black coat who was never supposed to last more than a few episodes.

Joe Caldwell, one of the writers who helped build that vampire — and who co-created the reluctant, tormented Barnabas Collins as a character — died Monday, July 13, following a stroke. He was 97.

Barnabas Collins, as played by Jonathan Frid, arrived on Dark Shadows in 1967 and immediately rewired the show's fortunes. The character was designed as a villain with a fixed expiration date. What emerged instead was something television rarely produces accidentally: an icon. Frid's Barnabas — haunted, aristocratic, genuinely unhappy about the whole undead situation — drew viewers who had never cared about daytime drama and set viewing records the show had not come close to before.

Dark Shadows ran until 1971, generating two theatrical films during its original run and a cultural afterlife that has outlasted almost every other soap of its era. A 1991 revival series attempted to recapture the original's atmosphere. A 2012 Tim Burton film with Johnny Depp in the title role brought the property to a new generation, however divisively. Fan conventions still run. The Collinsport estate is still very much open for business.

Caldwell's precise contribution to the Collins mythology has been documented across decades of fan scholarship and cast-and-crew retrospectives — the kind of deep archival work that cult properties inspire long after the credits stop rolling. He leaves behind a character who, by any measure, outlived the show that invented him, the network that aired him, and nearly every convention about what daytime television was allowed to be.

No funeral arrangements have been announced publicly as of Saturday.