Macau is a special administrative region of China, with executive, legislative, and judicial powers devolved from the national government. The Sino-Portuguese Joint Declaration provided for economic and administrative continuity through the transfer of sovereignty, resulting in an executive-led governing system largely inherited from the territory's history as a Portuguese colony. Under these terms and the "one country, two systems" principle, the Basic Law of Macao is the regional constitution. Because negotiations for the Joint Declaration and Basic Law began after transitional arrangements for Hong Kong were made, Macau's structure of government is very similar to Hong Kong's.