The Marvel universe is becoming more complex and interconnected. It has now been announced that Guardians of the Galaxy will be connected with Avengers 3.

Entertainment Weekly recently interviewed writer and director of Guardians of the Galaxy, James Gunn, who explained that Guardians will be tied in and connected with the storyline in Avengers 3.

“We’re definitely connected to ‘Avengers 3,’” Gunn said.

Variety reported that the tie between the two films might be the main villain in Guardians, Thanos. Thanos was seen at the end of The Avengers and writer-artist Jim Starlin also hinted to fans that Thanos will be featured in Avengers: Age of Ultron.

Guardians stars Chris Pratt, Bradley Cooper, Karen Gillan and Zoe Saldana. The latest Marvel installment will be arriving in theaters on August 1st. Age of Ultron can be seen on May 1, 2015.

Fans have been speculating that the Marvel universe is setting up the Infinity Gauntlet storyline.

Watch the trailer for Guardians here: