Hugh Jackman
Hugh Jackman actually envisioned a different ending for his character Logan. In this photo, the actor attends the “Logan” New York special screening at Rose Theater, Jazz at Lincoln Center on Feb. 24, 2017 in New York City. Getty Images/Nicholas Hunt

Fans were shocked by the ending of “Logan,” Hugh Jackman’s last movie as the invincible mutant Wolverine.

Warning: Spoilers ahead!

In it, Wolverine breathed his last trying to save his daughter Laura, also known as X-23, and her group of friends. Before dying, he even experienced a tender moment with her as she knelt on the ground crying. And Logan, who has evaded death time and again, smiled before the moment death claimed him and said, “So this is what it feels like.”

Read: Who are the new characters found in ‘Logan’?

But if Jackman had his own way, “Logan” would have had a completely different ending. The actor told Yahoo that he wanted something similar to Clint Eastwood’s drama “Unforgiven,” wherein a retired killer named William Munny cannot escape his past life and had to live the rest of his days feeling tortured about his kills. “It’s more powerful that Munny doesn’t die at the end,” he explained. “You assume he’s going to die, but by taking that final action and shooting everyone down, he embraces all the darkness he’s tried to put outside him. Now he’s got to live with it, and it’s almost more devastating.”

But director James Mangold wanted a different ending for Logan. Even after Jackman pitched his idea, the director pursued the mutant’s death. And now Jackman said Mangold’s original plan makes sense. “James was always certain of that ending, and he was right,” he said. “Unlike a human character [like William Munny], what’s most poignant for someone who is thought to be indestructible is him dying while saying, ‘This is what it feels like.’”

With Logan’s death, it might be a bit difficult now to get a Wolverine and Deadpool crossover. Ryan Reynolds, who plays Deadpool, earlier told Entertainment Weekly that the two mutants “would light the screen on fire,” so he’d love for them to work together. “I want Deadpool and Wolverine in a movie together. What we’re gonna have to do is convince Hugh,” he said.

But even without Logan, a “Deadpool 2” movie is already in the works. “Ghostbusters” star Leslie Jones even said that she would love to be a part of the new movie, even if it’s just for a small part. “I would love to be just the sidekick just feeding him back the lines,” she said during “The Late Night with Seth Meyers.”

“Logan” was released on March 3, while “Deadpool 2” will hit theaters on March 2, 2018.