Editor and composer John Ottman, who worked on such X-Men films as X2Days of Future Past and Apocalypse, reveals he worked on a script for a Hank McCoy/Beast solo movie that never came to fruition.

According to The Hollywood Reporter, Ottman was working on Apocalypse when his assistant, Byron Burton, talked with him about a potential screenplay centered on Nicholas Hoult's Beast. Ottman wasn't initially convinced. Despite being cautioned that his script was unlikely to be made, Burton ended up penning a draft Ottman thought might work. Ottman then began to tweak the script.

RELATED: Dark Phoenix Gives Jean Grey's Tragic Story a (Mostly) Happy Ending

The script began with a mysterious creature stalking and terrorizing an Inuit village. "We wanted to have the tenor of John Carpenter's The Thing where you are in this inhospitable environment," Ottman explained.

The movie then focuses on Beast, who is struggling to keep his mutation and beastly urges in check, at the X-Mansion. He eventually discovers that a man he helped with a mutation similar to his own is behind the attacks at the aforementioned Inuit village. As the movie progresses, Beast gets help from Professor Xavier and faces off against Wolverine, who would have had to have been recast due to Hugh Jackman's departure from the role following 2017's Logan.

The ending would have revealed Mr. Sinister was behind the movie's events. "The idea was we would have Sinister as this multi-film villain orchestrating things," Burton explained. "We wrote a late-'80s outline of an Omega Red film where the idea is Sinister is testing the X-Men."

Ottman reached out to Fox, who told him he'd need permission from director Simon Kinberg, who was working on Dark Phoenix at the time. Kinberg did not read the script, as he didn't want to be influenced by it. He was also looking into finding a replacement for Hugh Jackman as Wolverine so that he might reintroduce the character.

"The fact we got the script we got in a few weeks is a testament to Byron, but at the same time every script is ever changing," Ottman said. "As perfect as you think a script is, it will always dawn on you something is illogical or has to be redone."

The script for the movie, which was titled X-Men: Fear the Beast, is available online.

RELATED: Dark Phoenix: The X-Men's Celebrity Status Is Rooted in the Comics

As the rights to Marvel heroes previously held by Fox now belong to Disney, the X-Men and Fantastic Four are fair game for future Marvel Studios films. However, Marvel Studios President Kevin Feige says fans shouldn't expect to see the X-Men in the Marvel Cinematic Universe for "a very long time."

Directed and written by Simon Kinberg, Dark Phoenix stars James McAvoy, Michael Fassbender, Jennifer Lawrence, Nicholas Hoult, Sophie Turner, Tye Sheridan, Alexandra Shipp, Kodi Smit-McPhee, Evan Peters and Jessica Chastain. The film is in theaters now.