When he emerged from the house, wearing a motorcycle helmet and appearing to fire the gun, he yelled at police to shoot him.
Brown was suffering from serious mental health problems at the time of the incident, which were exacerbated after access to his children was restricted, North Shore District Court heard today.
He suffers from post traumatic stress disorder (PTSD), depressive episodes, and has an historical brain injury. The court heard he had responded well to treatment in prison and his PTSD symptoms were easing.
Police eventually captured Brown with the use of a police dog, which was injured in the arrest after Brown hit it over the head with the air rifle.
His lawyer told the court Brown considered himself a dog lover, and attacked the dog only because he was in pain from the animal biting his leg.
Brown was sentenced to 23 months in prison, with leave to apply for home detention if a suitable address was found.
He was also ordered to pay reparation of $195.40 for veterinary bills for the injured dog, and an order was made for the destruction of the air rifle.