The 1959 Agreement established a written constitution which gave Brunei Darussalam internal self-government. In 1971, the agreement was amended and revised to assert full internal independence except defence and external affairs.