Amri, who carried no documents with him, was identified on the basis of his appearance and fingerprints after the shootout, anti-terrorism police sources in Milan said.

A police officer is in hospital with non-life-threatening injuries after the shootout.

The 24-year-old Tunisian had been jailed for about three years in Italy for setting fire to a refugee centre, and after the Germany attack a reward of 100,000 euros (about $104,000) had been offered for information leading to his capture.

German government spokesman thanked Italy’s authorities for their cooperation in the four-day manhunt for Amri following the deadly attack.