Singapore participates actively in international relations through involvement with several international organizations. It has been a member of the United Nations since 1965 and has served two terms on the UN Security Council between 2001-2002. Singapore also engages with the Commonwealth and has hosted the first Commonwealth Heads of Government Meeting. In Asia-Pacific relations, Singapore was chair of the Asia-Pacific Economic Cooperation forum in 2009. International relations benefits Singapore by providing forums for cooperation and resolving disputes, such as the successful resolution of a territorial dispute with Malaysia through the UN.