It is noted that two people were also injured.
One of the victims is a police officer.
Earlier, Norwegian Prime Minister Erna Solberg said that the police are in control of the situation in the city of Kongsberg.
The police said that the attacker was detained.
He was taken to the pre-trial detention center in Drammen.Keywords: