Warning: This story contains spoilers for "X-Men: Apocalypse"

Although Hugh Jackman was long expected to appear in "X-Men: Apocalypse," Fox waited until April to confirm his involvement with a trailer that teased Wolverine's key role in one of the sequel's major action sequences.

However, the fan-favorite mutant was originally intended to play a much larger part in the film.

"There were a lot of iterations of how Wolverine would enter and exit the movie," writer/producer Simon Kinberg told CinemaBlend. "There was a version when he was going to come in at the midpoint of the film and be like the drill sergeant for the kids and take over as their leader. And we felt like that stepped on Jen's role in the movie and becoming their leader."

Jen is, of course, Jennifer Lawrence, whose Mystique not only rescues Nightcrawler (Kodi Smit-McPhee), but trains the young X-Men for their fight against Apocalypse.

With Wolverine no longer the team's "drill sergeant, his role was dialed back to a pivotal cameo, in which he unleashes his berserker rage on the Weapon X program.

"X-Men: Apocalypse" is in theaters now.