According to "Captain America: Civil War" screenwriters Christopher Markus and Stephen McFeely, Black Panther didn't always have such a prominent role in the film. During an interview with CinemaBlend, Markus revealed that they always had Spider-Man involved in "Civil War" -- but, when Marvel Studio's and Sony's deal for the character almost fell through, they beefed up Black Panther's role to potentially fill the gap.

RELATED: "Black Panther's" Coogler Contributed to "Captain America: Civil War's" Take on the Character

"Originally, T'Challa and T'Chaka were just the representatives of Wakanda, sort of the voice of other countries in the world going, 'You people are out of control,' and then to be aggrieved by possible Bucky actions. Frankly, just not have him be Black Panther yet," Markus explained. "He's getting his own movie, you know. He's the prince of a country! That's pretty good for a movie. Maybe we get to play with Spider-Man and all that. When things maybe looked like we weren't going to get Spider-Man, it was like, 'Let's put the costume on that guy!' And then he became so integral to the story as it evolved that once Spider-Man came back, we didn't take him out. So, it was a problem that created a really nice situation."

In February 2015, Sony and Marvel announced a deal to share live-action rights to the character, which were previously solely under Sony's control. Jon Watts is set to direct the movie, with a screenplay by John Francis Daley and Jonathan M. Goldstein. Spider-Man is scheduled to swing back into theaters in his own feature film on July 7, 2017.

Directed by Joe and Anthony Russo and starring Chris Evans, Robert Downey Jr., Scarlett Johansson, Anthony Mackie, Sebastian Stan and more, "Captain America: Civil War" opens on May 6, 2016.