LIEGE, Belgium (CNN) – Belgian authorities are investigating the killing of two policewomen and a passerby in the eastern city of Liege on Tuesday as a terror attack, the country’s prosecutor said.

The incident occurred when an assailant stabbed two policewomen from behind, before stealing their service weapons and using them on the officers, Liege prosecutor Philippe Dulieu said at a news conference on Tuesday. After killing the two officers, the attacker continued walking through the street and opened fire on a parked vehicle, fatally wounding the driver inside, Dulieu added.

According to the prosecutor, the suspect then took refuge in a local high school where he held a woman hostage. When police intervened, the man opened fire, injuring several other officers before he was shot dead. It is not yet clear what the attacker’s motive may have been, a spokesperson from the Liege prosecutor’s office told CNN.

Belgian Prime Minister Charles Michel said that he and the government send thoughts to the victims and their families. The Belgian Royal Palace also tweeted its sympathies following the shooting. “Our thoughts are with the victims of this horrible act. Courage to their loved ones,” the tweet read.

According to CNN affiliate VTM, Michel and King Philippe of Belgium are on their way to Liege.

Belgian Interior Minister Jan Jambon said on Twitter that the country’s crisis center had been monitoring the situation. The crisis center said that the students in the school were safe and that none had been injured.

Liege resident Didier Deflem filmed a video allegedly showing special intervention police units shooting at the Liege attacker in front of the Waha high school. Deflem told CNN, “Police made us enter the building to protect us. The PAB (Peloton anti-banditisme, a special intervention unit of the city of Liege) intervened. The man wanted to run out and he was shot down. That’s all I saw. We’re still in shock.”

Pierre Etienne Dit Pave, who teaches French language classes nearby, told CNN that he was first alerted to the attack by a “commotion in the street” and went out to investigate. “At one point, a policeman told me to go inside. I went back to the classroom and locked the door for a while,” he said. “We heard a lot of shots. We didn’t see anything because we were locked in the room. We were waiting for police to give us the clearing.”

Liege is Belgium’s third largest city, after Brussels and Antwerp, according to the national tourist office. For centuries, it has been an important cultural and industrial center for the country.

In 2011, Liege was the scene of a grenade and gun attack that left five people dead and injured more than 100 others.

(© Copyright 2018 Cable News Network, Inc., a Time Warner Company. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)