WARNING: The following article contains spoilers for Spider-Man: Far From Home, in theaters now.

At the end of Spider-Man: Far From Home, fans finally got to see the title character swinging through New York. Though an iconic Spider-Man scene, the sequence came as a bit of a surprise. After all, not only did the film took place almost entirely overseas, this was the first time the Marvel Cinematic Universe's wall-crawler actually got to cut loose in the iconic setting.

From his debut in Captain America: Civil War to Spider-Man: Homecoming and Avengers: Infinity War, all the way to Endgame and Far From Home, we'd seen Spidey in action in Europe, space and even Brooklyn -- but never Manhattan.

As it turns out, this was actually a carefully planned moment. In an interview with ComicBook.com, Spider-Man: Far From Home producer Amy Pascal explained exactly why it took five MCU appearances for Peter Parker to swing through New York.

RELATED: How Spider-Man: Far From Home's Shocking Mid-Credits Cameo Came Together

"That was the design," she said. "That, finally, at the end when you see him -- because we had rules about never having him swing in New York, from Homecoming in the beginning, when Kevin and I first started talking about doing this together. Finally, we felt we've earned the right to see him swing around New York City. And boy, doesn't that look awesome?"

RELATED: Far From Home’s Clever, Emotional Callback to the MCU’s Beginning

Directed by Jon Watts, Spider-Man: Far From Home stars Tom Holland, Samuel L. Jackson, Zendaya, Cobie Smulders, Jon Favreau, JB Smoove, Jacob Batalon and Martin Starr, with Marisa Tomei and Jake Gyllenhaal.