Solomon Islands gained self-government in 1976 following the independence of neighbouring Papua New Guinea from Australia in 1975. As a protectorate the Solomon Islands protectorate had never been under the sovereignty of the British monarch. It had never formed part of Her Majesty’s dominions. Under the Solomon Islands Act 1978 the territory was formally annexed to form part of Her Majesty’s dominons and granted independence. The new sovereign democratic state was established with the Queen as head of state. The new constitution, providing for fully responsible status within the Commonwealth, took effect under The Solomon Islands Independence Order 1978, an order in council which had been requested by the Legislative Assembly. It was made under the Foreign Jurisdiction Act 1890, and came into operation on 7 July 1978. Under the constitution the oath of allegiance is a declaration of allegiance to "Her Majesty Queen Elizabeth II, Her Heirs and Successors".