In a statement to ABC News after the screening, the man said he felt like he won the lottery.

"During what is just a horrible situation to be in, you have helped to make some wonderful memories and bring some joy to my family," the statement reads.

Mark Hamill was also happy to see the news.

"Many thanks to @RobertIger & everyone at @Disney for making this happen! Hope the Rowan Hospice patient not only enjoyed the film, but gets an extra-special satisfaction in knowing he saw it before I did," the actor said via Twitter.

The fan's wife said the outpouring of support from not only Disney, but the entire Star Wars community was overwhelming.

"We are truly humbled by everyone's support," she said in a statement to ABC News.

Star Wars: The Rise of Skywalker is due in theaters Dec. 20.