The teaser trailer for the upcoming sequel to 1986’s Top Gun, Top Gun: Maverick, featured a scene showcasing Maverick’s aerial skills as he flew across a desert at low-altitude. However, due to the extreme nature of the sequence and just how low the plane was to the ground, the production needed special permission from the United States Navy to film it.

"For the sequence where Tom got to do some extreme low-altitude flying in this film, we had to get special permission from the Navy to do it," director Joseph Kosinski told EW. "It was one of the most extreme aerial sequences that we could come up with. Also, getting to do a real launch off a carrier and a real landing on a carrier — no one else has been able to ever do that in a movie before. Tom got to fulfill every kind of aviation dream that he had."

RELATED: Top Gun: Maverick Hi-Res Stills Assemble the Recruits

Top Gun: Maverick takes place 30 years after the original movie and sees Tom Cruise reprise his role as Captain Pete "Maverick" Mitchell, still serving as a flight instructor. The first Top Gun stars Cruise and Anthony Edwards as pilots sent to a naval weapons school named Topgun. There, they meet Charlie, a civilian instructor at the school who eventually becomes Maverick's love interest, and Iceman, another Topgun pilot played by Kilmer, who considers Maverick's piloting style to be too dangerous.

Directed by Joseph Kosinski from a screenplay by Peter Craig, Justin Marks and Eric Warren Singer, Top Gun: Maverick stars Tom Cruise, Jennifer Connelly, Val Kilmer, Ed Harris, Jon Hamm, Miles Teller, Glen Powell, Manny Jacinto, Monica Barbaro, Lewis Pullman, Danny Ramirez and Jay Ellis. The film arrives in theaters June 26.

KEEP READING: Tom Cruise Takes Off in New Top Gun: Maverick Trailer