An excavation project on Great Barrier Island has rescued the ancient remains of Maori who lived on the island, which were in danger of being washed away.
The Historic Places Trust says the foreshore around Boulder Bay has eroded more than 20 metres in the past 40 years.
The trust's regional archaeologist, Bev Parslow, says human remains had been exposed by erosion, and if something hadn't been done, they would have been lost to the sea.
Ms Parslow says the project, which began last week, would finish on Saturday. The local iwi, Ngati Rehua, will decide where the remains are to be reinterred.