The police officers that apprehended an armed gunman at Waitakere Hospital have been applauded for their "extreme bravery".
The officers were at the hospital dealing with an unrelated matter when the alleged offender turned up at about 3pm this afternoon and fired a shotgun blast at a parked police car.
As one of the officers spoke to the gunman, the other managed to get a firearm from the police patrol car nearby.
The gunman was then arrested as he attempted to leave the hospital.
Inspector Chris Robinson said the officers showed "extreme bravery".
The alleged offender is currently at the Henderson police station, where he is being questioned by detectives.
It is understood he will be charged later tonight and he is expected to appear in court tomorrow.
Police had been seeking the man after an earlier incident at Glenfield, where shots were reportedly fired inside a house.
A Waitemata District Health Board spokeswoman could not comment on the incident as she was awaiting more information.
By Anna Leask of the New Zealand Herald