Sony and Marvel seem to have found a middle ground that will allow Spidey to remain in the MCU.

Last month it was announced that Sony had ended its partnership with Marvel Studios, but now Variety reports that the next Spider-Man movie will be another co-production.

As part of the agreement, Spidey will remain in the MCU and appear in at least one Marvel Studios-produced film. Amy Pascal, who has worked on prior entries in the Spider-Man franchise, will also return as producer while Marvel Studios president Kevin Feige will return to produce the third film in the franchise, with Tom Holland reprising the role.

As part of the agreement, Spidey will remain in the MCU and appear in at least one Marvel Studios-produced film. Amy Pascal, who has worked on prior entries in the Spider-Man franchise, will also return as producer.

“I am thrilled that Spidey’s journey in the MCU will continue, and I and all of us at Marvel Studios are very excited that we get to keep working on it,” Feige said in a statement. “Spider-Man is a powerful icon and hero whose story crosses all ages and audiences around the globe. He also happens to be the only hero with the superpower to cross cinematic universes, so as Sony continues to develop their own Spidey-verse you never know what surprises the future might hold.”

Insiders have indicated the new deal, which was signed on Thursday, will net Marvel and Disney 25 percent of the profits a renegotiation from the original 5 percent first-dollar gross and merchandising revenues Marvel had received from the films.

“We have had a great collaboration over the last four years, and our mutual desire to continue was equal to that of the many fans,” Sony Pictures Entertainment’s chief communications officer Robert Lawson added. “We are delighted to be moving forward together.”

The currently untitled Spider-Man film will hit theaters on July 16, 2021.