Channing Tatum has closed a deal to star in “Gambit” for 20th Century Fox, a source close to project confirmed.

News of Tatum’s official involvement in the “X-Men” spinoff lays to rest the rumors that the project was falling apart.

Tatum has been tied to the superhero pic for some time as producer and star. He even appeared at Fox’s Comic-Con panel with the cast of “X-Men.” Details on the extent of Tatum’s involvement in future “X-Men” projects are still under wraps.

“Gambit” is slated for an October 2016 release.

“Rise of the Planet of the Apes” helmer Rupert Wyatt will direct a script by Josh Zetumer, who drew from a treatment written by “Gambit” co-creator Chris Claremont.

In addition to Tatum, Reid Carolin, Lauren Shuler Donner and Simon Kinberg will produce.

Tatum is repped by UTA.

The news was first reported by The Hollywood Reporter.