Tamatea built a pa (stockaded village) on the hill known as Maungatawa, where his people settled. Ngati Ranginui all descended from Tamatea's grandson, Ranginui. In later years Ngaiterangi after many failed attempts of looking to settle themselves in a permanent area led a massive raid on the Ngati Ranginui pa site on top of Mauao (around 1700). This attack resulted in the pa falling to Ngaiterangi, and is known as the 'Battle of the Kokowai'.