A witness in the trial of a man accused of shooting a police officer has told of how he ran for his life after being shot at.
Neshanderan Rajgopaul is defending a charge of attempting to murder Constable Jeremy Snow in Papatoetoe in December 2009.
Mr Snow was shot repeatedly after going to investigate rustling in some bushes at the back of a property.
The accused also denies 10 other charges at the trial in the Auckland High Court.
The defence says another man is responsible for shooting Constable Snow.
Mr Rajgopaul was at a unit lived in by Gavin Lomas when police arrived on the night of the shooting.
Both men, and another man who is yet to give evidence, had been smoking methamphetamine, the court was told on Monday.
Mr Lomas went outside to speak with one of the officers when they arrived. He says soon after that, he heard shots being fired and Constable Snow screaming in pain.
Mr Lomas says he was then lined up by Mr Rajgopaul and shot at. He says one of the bullets struck his arm and he had to run for his life.
The court was earlier told by a paramedic that Constable Snow had lost a lot of blood and was in a critical condition.