Pātuhitia tēnei: The origins of alliances