A police officer stands behind a police tape during investigations at a stabbing scene in the center of Brussels on Tuesday. Associated Press

A Brussels police officer was injured in a knife attack in front of the city’s main police station early Tuesday, a spokeswoman said.

The attack took place on the second day of a state visit to Belgium by French President Emmanuel Macron with memories of the Paris and Brussels attacks running high.

An assailant stabbed the officer outside the central police station at 5:30am (0430 GMT), police spokeswoman Ilse van de Keere told AFP.

“A police officer was stabbed and slightly wounded” and taken to a hospital, she said.

“His colleagues retaliated by firing shots at the attacker who was subdued” but whose life is not in danger.

The spokeswoman refused to confirm a local media report that the attacker had cried “Allahu Akbar” (God is Greatest) during the incident.

Later Tuesday, Macron visits the Brussels district of Molenbeek, home of Islamic State jihadists who carried out the 2015 Paris attacks that left 130 people dead.

Get more stories like this on Twitter & Facebook

AD: To get thousands of free final year project topics and other project materials sorted by subject to help with your research [click here]