Thanks to Reddit — and a very generous author — a dying man will know how his favourite story ends.

Nachu Bhatnager has terminal cancer. He doesn't expect to live beyond the summer.

When asked what he wants to accomplish before he dies, he answered with a seemingly impossible wish: he wanted to finish reading Harry Turtledove's The War That Came Early series.

He wanted to know how it ends.

There was one major hurdle to his dream: the last two books in the series haven't been published yet.

Bhatnager's friends were determined to help, taking his situation to Reddit:

"My friend has terminal cancer and may die by June. I'm trying to fulfill one of his last wishes. Is there any way to obtain a copy of a book that hasn't been released yet?" Colton Jang, one of Bhatnager's friends, posted on Reddit.

He attached a copy of the letter being sent to Turtledove, begging for an advance copy of the remaining books:

"I understand the risks involved in sending an advance copy of your books to him and I understand the potential copyright issues and backlash from publishers. That said, my friend needs some good luck and kindness to balance out the awful streak he's been on, and I couldn't imagine a better person for it than his favourite author."

Hundreds of commends flooded in. Soon, a response from the author popped up. An advance reading copy was in the mail shortly thereafter.

Just days later, a YouTube video showed Bhutnager receiving the surprise birthday gift of a lifetime — an advance copy of a book he never thought he'd get to read. Turtledove also arranged to call the young man to discuss the details of his final book.

Watch the heartwarming, tearjerking moment below. (Warning: profanity — but totally understandable. His friends made the impossible possible.)