Resolutions varied. In some cases, military might determined the new pharaoh. In others, diplomatic marriages or alliances within the royal family helped settle disputes. Occasionally, priests and oracles played roles in legitimizing rulers, bringing conflicts to an end.