A man is dead and a homicide probe is underway after reports of gunshots in the Auckland suburb of Flat Bush overnight.
Police officers remained at the scene in Bezar Pl on Sunday morning.
A nearby resident told Newshub they heard a gunshot in the early hours of the morning and police officers asked residents to close their windows and doors.
The resident said the armed offenders squad used a ladder to get to the top floor of a house, where they were negotiating with a person between 1:30am and about 6am.
A man eventually came out of the house with his hands on his head, the resident said.
Another man said he'd lived on Bezar Pl for 11 years and never seen police officers down his street. All residents Newshub spoke to said it was usually a quiet area and such an incident was unusual.
Cordons remained in place in the Bezar Pl area.
In a statement later on Sunday morning, Det Insp Fa'amanuia Va'aelua said police received a 111 call from a Bezar Pl resident about 1:15am. The resident told police they heard gunshots and a person in distress.
"Police, including armed offender squad (AOS) members, were dispatched to the area," Va'aelua said.
"Cordons were put in place to ensure no further risk to residents in Bezar Pl and people in neighbouring addresses were advised to stay in their homes.
"Police approached the property on foot and could see several people inside the property.
"AOS members gained entry to the home through a window and safely brought out several occupants, including a child. These occupants were unharmed."
Va'aelua said the police negotiation team then made contact with a 38-year-old man inside the property and engaged with him overnight.
"Just after 8am, the man surrendered to police and was taken into custody without further incident.
"The body of another man has been located inside the property.
"As a result, a homicide investigation has now commenced."
Va'aelua said police acknowledged the distress the incident caused Flat Bush residents.
"This is not something you expect in a residential area after a day of Christmas celebrations.
"I also want to acknowledge the bravery demonstrated by the officers who went into the home and brought the occupants out safely."
There will be a continued police presence in the area on Sunday, Va'aelua said.