The politics of the Cook Islands takes place in a framework of a parliamentary representative democracy within a constitutional monarchy. The monarch of New Zealand, represented in the Cook Islands by the King or Queen's Representative, is the head of state; the prime minister is the head of government of a multi-party system. The nation is self-governing and fully responsible for its internal and foreign affairs; it has run its own foreign and defence policy since 2001. Executive power is exercised by the government, while legislative power is vested in both the government and the parliament. The judiciary is independent of the executive and the legislatures.