At present, there are two SARs established according to the Constitution, namely the Hong Kong SAR and the Macau SAR, former British and Portuguese dependencies, respectively, transferred to China in 1997 and 1999, respectively, pursuant to the Sino-British Joint Declaration of 1984 and the Sino-Portuguese Joint Declaration of 1987. Pursuant to their Joint Declarations, which are binding inter-state treaties registered with the United Nations, and their Basic laws, the Chinese SARs "shall enjoy a high degree of autonomy". Generally, the two SARs are not considered to constitute a part of Mainland China, by both SAR and mainland Chinese authorities.