German police shoot man wielding hammer

German police have shot and wounded a man armed with a hammer and a firebomb near Hamburg's Reeperbahn, a street popular with tourists in the heart of the northern port city's nightlife district.

The man was hit in the leg by an officer on Sunday afternoon and received medical treatment, a police spokesman said.

Police described the suspect as a 39-year-old German.

He was not named in line with German privacy laws.

The incident raised major alarm as Hamburg is one of 10 German cities hosting Euro 2024 football matches.

A bullet casing
Police say officers in Hamburg shot a man alleged to have been threatening people in the leg. (AP PHOTO)

Poland squared off there against the Netherlands on Sunday.

The man may have acted in a state of mental distress, police told a press conference in Hamburg on Sunday evening.

There were no indications of his motivation.

Initial reports said the man wielded a small axe but on Sunday evening, police said he was brandishing a roofing hammer.

A police spokesman said earlier that initial indications suggested "no football connection" and that the man acted alone.

The police operation was just a short walk away from the city's official fan zone.

Police said football fans there were "well-protected" and never in danger.

Tens of thousands of Dutch supporters earlier marched down the streets of the St Pauli nightlife district, where the Reeperbahn is located.

According to police, the man had come out of a pub on a street adjacent to the Reeperbahn with what was initially described as a pickaxe.

He waved the tool at police officers in a "threatening manner," according to the spokesman's account.

He was also carrying a Molotov cocktail.

Police asked him to put down the tool.

He put it down and then tried to light the Molotov cocktail, a police spokeswoman explained.

After several warnings, the officers opened fire and shot him in the leg.

He received immediate medical attention and was taken to hospital.

Video footage circulating on social media showed the man threatening several people.

He tried to climb a barrier in front of several police officers.

He can be heard yelling at the police officers to "shoot".

The man can be seen running towards other people and tried to ignite the Molotov cocktail.

Officers initially used pepper spray before several shots are fired.

The crime scene was cordoned off by police on Sunday afternoon.

Police said no other people or officers were injured.