Jake GyllenhaalJake Gyllenhaal as an anarchist freedom fighter? We can see it.

The actor will star in "The Anarchists vs ISIS," a true story about a ragtag team of volunteers and outcasts who fight against the terrorist organization in Syria, Variety reports.

The project is based on a Rolling Stone article by Seth Harp published last month entitled "The Anarchists vs. The Islamic State."

The article focuses on Brace Beldeon, 27, who tweets from the front lines in Syria to his 31,000 followers under the handle PissPigGranddad. It cites the most famous image of him as "crouched in his YPG uniform, wearing thick Buddy Holly glasses, a cigarette dangling from the corner of his mouth, a stray puppy in one hand and a sniper rifle in the other."

The project reteams Gyllenhaal with Daniel Espinosa, who just directed him in the sci-fi thriller "Life."

Producer Riva Marker tells Variety, "Jake and I are thrilled to partner with Daniel Espinosa on Seth Harp's daring story. Thematically, we're often attracted to material about the search for identity, especially in a world where it's become easier to feel less and less connected. Seth's story is about people who abandon everything that's familiar as a means to connect in the most brutal of circumstances. Daniel is wonderfully collaborative and so passionate about this material. We are eager to start working with a screenwriter together."

Gyllenhaal previously went to war in "Jarhead," also based on a true story, in which he played a Marine sniper during the Gulf War.