SPOILER WARNING: The following article contains spoilers for Spider-Man: Homecoming, in theaters July 7.

RELATED: Early Spider-Man: Homecoming Reactions Call it Best Spidey Film Yet.

Long before Andrew Garfield was cast as Peter Parker in Sony's The Amazing Spider-Man reboot, fans launched a campaign to cast Donald Glover in a potential reboot as Miles Morales, a still relatively new character within the Marvel Universe. Of course, that franchise ultimately came to a halt after The Amazing Spider-Man 2 under-performed at the box office, leading to an unprecedented deal between two studios to come together and make a new Spider-Man franchise set within the highly-successful Marvel Cinematic Universe. Unfortunately, for those eager to see Glover take on the role of Miles Morales in a Spidey reboot, that didn't happen, however, Glover was confirmed to be a part of the cast although his role was never specified. Well, thanks to those that have seen the film, we now know Glove's role in Homecoming and it's surprisingly connected to Miles Morales.

A novelization of the film reportedly had Donald Glover's character revealed to be someone named Alex -- well, the official cast list revealed by Sony ahead of the press junket has confirmed Glover is, indeed, playing Aaron Davis -- aka the Prowler.

RELATED: Spider-Man Is Only Sony Character in the MCU, Feige Says.

Fans of Miles Morales will note that Aaron Davis is actually the character's uncle, and played a big part in his origin story as the web-slinger. As a small-time thief, Miles' uncle ends up accidentally tracking one of Oscorp's radioactive spiders back with him in his bag, leading Miles to come into contact with it. The bite from the spider is ultimately what leads to Miles gaining his powers. What's curious is that Miles and his uncle are actually from the Earth-1610 universe as opposed to the Earth-616 universe, so it'll be interesting to see how the MCU goes about introducing him on screen in Peter Parker's story. Still, for fans of Miles Morales, introducing a character like Aaron Davis helps to lay the groundwork for Miles' future within the MCU, and that's exciting.

Arriving July 7, director Jon Watts’ Spider-Man: Homecoming stars Tom Holland as Spider-Man and Michael Keaton as Vulture, in addition to Zendaya, Donald Glover, Jacob Batalon, Laura Harrier, Tony Revolori, Tyne Daly, Bokeem Woodbine, Marisa Tomei and Robert Downey Jr. Tickets are on sale now.

RELATED: Marvel & Sony Finally Agree On Venom’s Place In (Or Outside) the MCU

(via CBM)