The Man on the Roof (1976)
The Man on the Roof is a 1976 Swedish film directed by Bo Widerberg, based on the 1971 novel The Abominable Man by Sjöwall and Wahlöö. The film is a crime thriller about the police officer Martin Beck trying to catch a killer, and it reaches its climax when the killer barricades himself on a roof top in central Stockholm with an automatic rifle. A memorable scene is where a Bell 206 crashes in Odenplan. Widerberg was inspired by the 1971 film The French Connection.
More at Wikipedia.