The man who shot at a police officer has been sentenced to eight years and three months in prison.
Murray Toleafoa, 30, pleaded guilty to using a firearm against a police constable at the High Court in Auckland in October.
He must serve a minimum of five years behind bars.
Toleafoa shot at the policeman after the car he was a passenger in was pulled over on Auckland's Mayoral Drive on June 1.
He fired the pistol, similar to a police Glock, which narrowly missed the officer before hitting a concrete wall across the road.
The officer sustained a gunshot burn to his forearm.
Toleafoa was arrested more than a week later at a central city supermarket along with two associates.
The 20-year-old woman allegedly driving the car when the
shooting occurred, Nadia Bell, 20 is facing a charge of being party
to unlawful possession of a pistol.