Spider-Man, the second most-rebooted superhero of our generation (hi, Batman!), is leaving the cruel, confused hands of Sony Pictures and entering the superhero wonder factory that is the Marvel Cinematic Universe, home to Captain America, Iron Man, the Guardians of the Galaxy, Thor, Hulk, Black Widow, Nick Fury, and Jeremy Renner.

What are the exact circumstances of the deal? Spidey will first appear in a Phase 3 Marvel film (not confirmed which, but many are guessing a cameo in Captain America: Civil War, given his character's prominence in the original story) before going on to some solo films (the first of which to be released in July 2017) co-produced by both Sony and Marvel's Kevin Feige (with the implication that Marvel will have creative control.

Also, no more Andrew Garfield :(

After the Sony email leaks of late 2014, it was revealed that Sony had been made an offer from Marvel that would bring Spider-Man back into their universe (and it sounded remarkably like the current turn of events) but that Sony had declined. We had our own theories as to what their reasoning was. But it seems that they've had a change of heart, or maybe someone actually got around to watching The Amazing Spider-Man 2 and realized "oh shit, we should NOT be making these movies."

Meanwhile, the internet is (rightfully) freaking the hell out: