The actor — who plays Jaime Lannister in the global phenomenon — will portray Rico, a worn-out police officer assigned to the team that tracked Omar El-Hussein after he killed two people in separate attacks.
“The film is based on real events surrounding the terrorist attack on the Krudttonden Cultural Centre and the Copenhagen synagogue in February 2015,” SF Studios said in a statement.
El-Hussein, 22, a Dane of Palestinian origin, claimed allegiance to the Islamic State group before he fired an assault rifle at the cultural centre during a debate on religion and freedom of expression.
Documentary film director Finn Nørgaard, 55, died in the attack.
El-Hussein then killed 37-year-old Dan Uzan who was standing guard at the synagogue as a bar mitzvah took place inside on February 14th.
A few hours later the attacker was killed during a shootout with police.
“I think it is important to tell this story while we still remember it, we owe it to the victims,” director Ole Christian Madsen told the Danish weekly Weekendavisen.
“Globally, events are happening faster and faster. I think it is the right time” to start talking about the event, he said.
Filmed in secret, the movie is due for release by the end of this year.