What is the 2039 rule in copyright infringement?

The 2039 rule of copyright states that some pre-1989 unpublished works are protected until 31st December 2039, even where the author has died many years prior to 1989. This includes the likes of literary, dramatic and musical works, but the rules differ for certain works.