Police in Paris have shot a man dead who tried to enter a police station armed with a knife, shouting “Allahu Akbar.” The man was found to be carrying a cellphone and a paper with an Islamic State flag, the Paris prosecutor says.

The shooting took place at the Goutte d’Or police station in Paris’ 18th district. Anna Polonyi, a journalist from the New York Times, witnessed the events unfolding and published a photo of a man lying on the ground outside the building. She also tweeted a photo of what appeared to be a robot inspecting the body.

Another eyewitness said two or three shots were heard, AFP reported. Police sealed off the area.

The man armed with a knife apparently attacked on-duty policemen, with one officer receiving injuries, according to local media reports.

There were also reports that the man was believed to have shouted “Allahu Akbar” as he tried to gain entry to the station. There were fears that he could have been wearing a suicide belt, but police sources later confirmed it was a fake.

Following the shooting, police found the man had been carrying a sheet of paper bearing an Islamic State (IS, formerly ISIS/ISIL) flag, according to the Paris prosecutor. Police say they also found a handwritten note written in Arabic claiming responsibility for the attack.

“A mobile phone and a piece of paper, on which appear the Daesh flag and a clearly written claim in Arabic, were found on the individual,” Francois Molins said, referring to the Arabic acronym for Islamic State, according to Reuters.

The incident comes as Paris marks the first anniversary of the Charlie Hebdo attacks, which killed 12 people on January 7, 2015.

Thursday’s shooting occurred minutes before French President Francois Hollande paid tribute to police officers, who have been killed in the line of duty. He said there would be an unprecedented strengthening of French security, which would include a further 5,000 police officers.

The incident comes less than two months after the Paris attacks on November 13, which killed 130 people. Alain Corvez, a former adviser to the French Interior Ministry, told RT he believes Paris could be subject to more terror attacks in the future.

“What I am sure of is that such attacks could occur again and again because the problem of terrorism is not solved and we have to be very cautious,” Corvez said. “The president is doing his job, but the problem is different. It is not with words that you fight against terrorism.”

Corvez mentioned the 18th district where the attack took place is a mixed area, which is home to people from a number of different nationalities. However, he warned that future attacks could take place anywhere in the capital.

“You can take all these measures to counter these attacks, but there will be places for terrorists to [commit] attacks.”