BRUSSELS — Belgian prosecutors say a suspect has been charged with attempted murder in a terrorist context and participating in the activities of a terrorist group in connection with a stabbing attack that injured two Brussels police officers.

The Federal Prosecutor’s Office, in a statement Thursday, also said suspect Hicham D.’s younger brother, Aboubaker D., has been detained, and that an investigating judge specializing in terrorism cases will decide whether he should be kept in custody Friday.

Two police officers in the Schaerbeek neighborhood of Brussels were attacked on the street Wednesday by a man with a knife, who was overpowered by another police patrol.

Hicham D. was identified by prosecutors as a 43-year-old Belgian national. Media reports said he was a veteran of the Belgian army who was discharged in 2009.