Two Italian police officers were injured in the attack
The horrific incident happened in a rundown area of the southern Italian town of Foggia.
Local media reported that officers pulled over a suspect and asked him to produce identification.
The man then grabbed a knife from the car’s glove box and slashed one of the officers across the hand.
Italian police have released an image of the knife used in the attack on an officer
He then slammed the car into reverse and ran over a second officer’s foot as he tried to escape before crashing into a parked truck and falling out his vehicle, still brandishing the blade.
The attacker was quickly disarmed and arrested by another police patrol and taken into custody.
The suspect been named by local media as 37-year-old Libyan national Diallo Mamoudou.
He remains in custody and his unlicensed vehicle has been impounded.
Foggia mayor Franco Landella
The injured officers were treated in hospital in Foggia for minor injuries and are both expected to make full recoveries.
Get Quotes on Home Insurance
Foggia mayor Franco Landella said: “This was an ugly incident that could have had far worse consequences had it not been for the sense of responsibility and experience of our local police.
"Unfortunately, the context in which all this has happened once again raises the issue of security in the railway district and especially the massive presence of foreign nationals there.”
The attack was carried out in the southern Italian town of Loggia Violence Erupts In Rome Tue, February 21, 2017
Clashes have broken out at a protest in Rome, as Italian taxi drivers took to the streets to protest as the Italian Chamber of Deputies votes on the ‘Uber amendment,’ which was passed by the Italian Senate earlier in February.
Play slideshow AFP/Getty Images 1 of 14
Street vendors and taxi drivers clash with police during a demonstration in front of the Democratic Party (PD) headquarters to protest against the EU directive Bolkestein
Mr Landella said extra CCTV cameras were being installed in the area and police patrols were being stepped up.
He said: “This part of town is dangerous. Acceptance and integration cannot and should not be confused in any way with a kind of license to act outside the law or without respect for citizens who reside in this neighbourhood.”