PARIS — The man who was killed during a counterterrorism raid was an Algerian with potential links to radical Islam, Belgian prosecutors said on Wednesday. Two other suspects from Tuesday’s raid, which left four police officers wounded, remain on the run, the prosecutors said.

The man, Mohamed Belkaid, a 35-year-old who was in Belgium illegally, tried to open fire on police officers and was shot and killed by a special-forces sniper, according to Eric van der Sijpt, a spokesman for the federal prosecutor’s office.

The raid took place around 2:15 p.m. Tuesday at a building on the Rue du Dries in the Forest section of Brussels. Six police officers — four Belgian and two French — went to the building as part of the investigation into the Nov. 13 terrorist attacks in Paris and in St.-Denis, France.

“From the moment the door of the flat was opened, at least two persons, armed with a riot gun and a Kalashnikov, opened fire toward them,” Mr. van der Sijpt said. “In the short but very intense shootout, three of the six officers suffered slight injuries, among them a French female police officer.”