With their latest movie premiering in just two weeks, Spider-Man: Into the Spider-Verse producers Chris Miller and Phil Lord discussed the film's Stan Lee cameo, which is the Marvel legend’s first posthumous appearance.

“He’s so integral to the spirit of this movie that we didn’t want to just give him a little passing cameo,” Miller told Fandango. “We wanted him to be more important and carry some emotional weight to the movie."

RELATED: Into the Spider-Verse: Miles Learns How to Swing in First Movie Clip

At New York Comic Con, it was revealed Lee portrays the owner of a costume shop, which Miles Morales visits. "Essentially, we really thought since he was the guy who created the character with Steve Ditko that he should give him something important like a talisman," Lord said. “So he gives him the spider suit, and says, 'There’s no give backs.' And we thought that was really important."

"We certainly felt really happy to do it with him, and obviously this last week [with Stan Lee's passing], it made it extra meaningful and moving to watch the movie get finished and just know that he gets to be such a resonant part of it," Lord added. "And we showed some fans the feature maybe two or three days after he passed away, and it was really emotional just watching everyone engage with it and collectively salute him."

RELATED: Spider-Man: Into the Spider-Verse Early Reviews Praise Its Style, Freshness

No stranger to cameos in television and animated Marvel series, Stan Lee became a staple of the Marvel Cinematic Universe with his small but often hilarious cameos. He is also slated to appear in next year's Avengers 4.

Directed by Bob Persichetti, Peter Ramsey, and Rodney Rothman, Spider-Man: Into the Spider-Verse stars Shameik Moore, Brian Tyree Henry, Jake Johnson, Mahershala Ali, Hailee Steinfeld, Liev Schreiber, Luna Lauren Velez, Lily Tomlin, Nicolas Cage, John Mulaney and Kimiko Glenn. The film opens on Dec. 14.