An Italian man has opened fire on African migrants in the central city of Macerata, injuring six people in the racially motivated attack before he was captured, police say.
The shootings happened just days after a Nigerian migrant was arrested in connection with the death of an 18-year-old Italian woman, whose dismembered body was discovered hidden in two suitcases near Macerata.
The attack was motivated by "racial hatred", Interior Minister Marco Minniti said.
Police named the suspected shooter as Luca Traini, 28, and said he had an Italian flag draped over his shoulders when he was seized in the street by armed police. A pistol was found in his nearby car.
Luca Traini is accused of carrying out the shooting. Source: AAP
"He drove around in his car and when he saw any coloured people he shot them," Marcello Mancini, a Macerata resident, told Reuters television on Saturday.
Police said one of the six victims was seriously hurt and needed surgery but gave no further details.
According to police, the shooter drove around Macerata, which is famed for its outdoor opera festivals, in a black Alfa Romeo car firing out of his window at migrants in various locations.
With police closing in, he tried to escape on foot but was almost immediately caught. Local media said he shouted, "Long live Italy," as he was taken away.
The ruling centre-left Democratic Party said Traini had stood as a candidate for the rightist Northern League (PD) at local elections last year and accused him of also firing shoots at one of their offices in Macerata before he was arrested.
The League backs fiercely anti-immigrant policies and is part of ex-prime minister Silvio Berlusconi's centre-right alliance that is leading in the polls ahead of a March 4 national election.
League leader Matteo Salvini distanced himself from the shooting but said unrestrained immigration was causing social strife. "I can't wait to get into government to restore security, social justice and serenity to Italy," he said.
PD's leader Matteo Renzi called for calm. "The man who fired the gun, hitting six people of colour, is a squalid, mad person. But the state is stronger than him," the former prime minister wrote on Facebook.
Tensions in Macerata had risen this week following the gruesome discovery of Pamela Mastropietro's body. The teenager had run away from a drug rehabilitation centre on Monday and met a Nigerian asylum seeker, Innocent Oseghale, the next day.
Her body was found on Wednesday and a preliminary post-mortem could not immediately identify the cause of death.
Witnesses said they had earlier seen Oseghale with the suitcases. He refused to talk to the police after his arrest. Newspapers said he was denied asylum last year but had remained in Macerata to appeal against the decision.