A New Zealand father who spent nearly four years on the run with his children was killed by police during a shootout in which a policeman was also shot on Monday, authorities said.
Tom Phillips, who absconded with his three children in December 2021 after a row with his former partner, died in the rolling hill country of the North Island's Waikato region.
His case captivated the country, particularly in the Waikato area and the town of Marokopa, where Phillips was suspected of hiding.
The family has eluded capture for nearly four years despite several sightings, including CCTV apparently showing Phillips and a child breaking into a store last month.
Police were called in the early hours of Monday morning about a potential robbery at a store by two people on a quad bike.
"Knowing the information that we had previously had that had seen Tom Phillips also in this area, additional staff were called out and responded to that location," Jill Rogers, New Zealand Police deputy commissioner of the Northern Districts region, said.
Police stopped the quad bike with spikes, after which gunfire broke out.
"A second patrol unit arrived and has engaged the offender, and he has died at the scene," Rogers said.
Phillips shot an officer in the head with a high-powered rifle before he was shot by police. The officer was undergoing surgery.
One of Phillips' children was with him during Monday's shooting and was taken into custody.
The other two siblings were found at about 2.30pm AEST, after a full day's search at a remote campsite in the bush.
"To know the children are safe, and now receiving care after nearly four years, is an absolute relief," Rogers said.
All three children, believed to be nine, 10 and 12, were unhurt.
Rogers said they were found on their own and it was unclear if they had been told about their father's death.
"This is devastating news for Tom Phillips' family, and is the outcome that nobody wanted," Rogers said.
The mother of the three children, known as Cat, said she was "deeply relieved" the ordeal had ended.
"They have been dearly missed every day for nearly four years, and we are looking forward to welcoming them home with love and care," she told national broadcaster RNZ about her children.
"At the same time, we are saddened by how events unfolded today. Our hope has always been that the children could be returned in a peaceful and safe way for everyone involved."
She asked for the family's privacy to be respected as the children reintegrate into a "stable and loving environment" after they had "endured a long and difficult journey".
Since fleeing in 2021, police suspected Phillips of committing several crimes and charged him with aggravated robbery, aggravated wounding and unlawful possession of a firearm.
Police believed he had help in avoiding the authorities.
The children had not been to school since their father went into hiding.