How long does a copyright last for a work created before January 1, 1978 but never published?

If a work was created before January 1, 1978, but has never been published, it will have copyright protection just like any work created after January 1, 1978 - it will be protected for the duration of the author’s life plus 70 years.