Question: From what tradition does the legal system of the former Portuguese colony that is now a special administrative region of China come?

full_context: Document 1: Portugal: In 2007, Portugal had 10,617,575 inhabitants of whom about 332,137 were legal immigrants. In 2015, Portugal had 10,341,330 inhabitants of whom about 383,759 were legal migrants, making up 3.7% of the population. In 2017, Portugal had 416,682 legal residents of foreign origin, of which 203,753 identified as male, and 212,929 as female.Portugal's colonial history has long since been a cornerstone of its national identity, as has its geographic position at the south-western corner of Europe, looking out into the Atlantic Ocean. It was one of the last western colonial European powers to give up its overseas territories (among them Angola and Mozambique in 1975), turning over the administration of Macau to the People's Republic of China at the end of 1999. Consequently, it has both influenced and been influenced by cultures from former colonies or dependencies, resulting in immigration from these former territories for both economic and personal reasons. Portugal, long a country of emigration (the vast majority of Brazilians have Portuguese ancestry), has now become a country of net immigration, and not just from the last Indian (Portuguese until 1961), African (Portuguese until 1975), and Far East Asian (Portuguese until 1999) overseas territories. An estimated 800,000 Portuguese returned to Portugal as the country's African possessions gained independence in 1975.Since the 1990s, along with a boom in construction, several new waves of Ukrainian, Brazilian, Lusophone Africans and other Africans have settled in the country. Romanian, Moldovans, Kosovar and Chinese have also migrated to the country. Portugal's Romani population is estimated to be at about 40,000. Numbers of Venezuelan, Pakistani and Indian migrants are also significant.
Document 2: Portugal: Portugal lost much of its wealth and status with the destruction of Lisbon in a 1755 earthquake, occupation during the Napoleonic Wars, and the independence of Brazil, its wealthiest colony, in 1822. After the 1910 revolution deposed the monarchy, the democratic but unstable Portuguese First Republic was established, later being superseded by the "Estado Novo" right-wing authoritarian regime. Democracy was restored after the Portuguese Colonial War and the Carnation Revolution in 1974. Shortly after, independence was granted to all its colonies, with the exception of Macau, which was handed over to China in 1999. This marked the end of the longest-lived European colonial empire, leaving a profound cultural and architectural influence across the globe and a legacy of over 250 million Portuguese speakers today.
Document 3: Sociedade de Turismo e Diversões de Macau: The Sociedade de Turismo e Diversões de Macau, SA; abbreviated as STDM, () (English: "Tourism and Entertainment Company of Macau Limited") is a company in Macau owned by Stanley Ho and his family. Historically, it has held a monopoly to Macau's gambling industry as the only licensee for casinos. In 2002, the government of Macau began issuing more licenses and the monopoly was broken. Still, of the 30 operating casinos in Macau, 14 are owned by Stanley Ho.
Document 4: Borders of China: China shares international borders with 14 sovereign states. In addition, there is a 30 - km border with the special administrative region of Hong Kong, which was a British dependency before 1997, and a 3 km border with Macau, a Portuguese territory until 1999. With a land border of 22,117 kilometres (13,743 mi) in total it also has the longest land border of any country.
Document 5: Judiciary: The judiciary (also known as the judicial system or court system) is the system of courts that interprets and applies the law in the name of the state. The judiciary also provides a mechanism for the resolution of disputes. In most nations, under doctrines of separation of powers, the judiciary generally does not make law (which is the responsibility of the legislature) or enforce law (which is the responsibility of the executive), but rather interprets law and applies it to the facts of each case. In other nations, the judiciary can make law, known as Common Law, by setting precedent for other judges to follow, as opposed to Statutory Law made by the legislature. The Judiciary is often tasked with ensuring equal justice under law.
Document 6: Handover of Hong Kong: The transfer of sovereignty over Hong Kong, commonly known as the handover of Hong Kong (or simply ``the Handover '', also`` the Return'' in mainland China) was the transition of control over the former British colony of Hong Kong from the United Kingdom to the People's Republic of China on 1 July 1997. The returned territory comprised Hong Kong Island and the Kowloon Peninsula, which were respectively ceded to Britain in 1842 and 1860, as well as the New Territories, which were leased for 99 years from 1898. The transfer was arranged to coincide with the expiration of this lease on the previous day, 30 June 1997. This event marked the end of British rule in Hong Kong, and is regarded by some as the end of the British Empire.
Document 7: Separation of powers under the United States Constitution: The power to review the constitutionality of laws may be limited by Congress, which has the power to set the jurisdiction of the courts. The only constitutional limit on Congress' power to set the jurisdiction of the judiciary relates to the Supreme Court; the Supreme Court may exercise only appellate jurisdiction except in cases involving states and cases affecting foreign ambassadors, ministers or consuls.
Document 8: Supreme court: In most nations with constitutions modelled after the Soviet Union, the legislature was given the power of being the court of last resort. In the People's Republic of China, the final power to interpret the law is vested in the Standing Committee of the National People's Congress (NPCSC). This power includes the power to interpret the basic laws of Hong Kong and Macau, the constitutional documents of the two special administrative regions which are common law and Portuguese-based legal system jurisdictions respectively. This power is a legislative power and not a judicial one in that an interpretation by the NPCSC does not affect cases which have already been decided.
Document 9: Macau: Macau was administered by the Portuguese Empire and its inheritor states from the mid-16th century until late 1999, when it constituted the last remaining European colony in Asia. Portuguese traders first settled in Macau in the 1550s. In 1557, Macau was leased to Portugal from Ming China as a trading port. The Portuguese Empire administered the city under Chinese authority and sovereignty until 1887, when Macau became a colony through a mutual agreement between the two countries. Sovereignty over Macau was transferred back to China on 20 December 1999. The Joint Declaration on the Question of Macau and Macau Basic Law stipulate that Macau operate with a high degree of autonomy until at least 2049, fifty years after the transfer.
Document 10: Coloane Park: Coloane Park is a large park located on the southern section of Coloane Island in the former Portuguese colony of Macau, now a Special Administrative Region of the People's Republic of China.
Document 11: Law of the United States: The fifty American states are separate sovereigns, with their own state constitutions, state governments, and state courts. All states have a legislative branch which enacts state statutes, an executive branch that promulgates state regulations pursuant to statutory authorization, and a judicial branch that applies, interprets, and occasionally overturns both state statutes and regulations, as well as local ordinances. They retain plenary power to make laws covering anything not preempted by the federal Constitution, federal statutes, or international treaties ratified by the federal Senate. Normally, state supreme courts are the final interpreters of state constitutions and state law, unless their interpretation itself presents a federal issue, in which case a decision may be appealed to the U.S. Supreme Court by way of a petition for writ of certiorari. State laws have dramatically diverged in the centuries since independence, to the extent that the United States cannot be regarded as one legal system as to the majority of types of law traditionally under state control, but must be regarded as 50 separate systems of tort law, family law, property law, contract law, criminal law, and so on.
Document 12: Supreme court: In Hong Kong, the Supreme Court of Hong Kong (now known as the High Court of Hong Kong) was the final court of appeal during its colonial times which ended with transfer of sovereignty in 1997. The final adjudication power, as in any other British Colonies, rested with the Judicial Committee of the Privy Council (JCPC) in London, United Kingdom. Now the power of final adjudication is vested in the Court of Final Appeal created in 1997. Under the Basic Law, its constitution, the territory remains a common law jurisdiction. Consequently, judges from other common law jurisdictions (including England and Wales) can be recruited and continue to serve in the judiciary according to Article 92 of the Basic Law. On the other hand, the power of interpretation of the Basic Law itself is vested in the Standing Committee of the National People's Congress (NPCSC) in Beijing (without retroactive effect), and the courts are authorised to interpret the Basic Law when trying cases, in accordance with Article 158 of the Basic Law. This arrangement became controversial in light of the right of abode issue in 1999, raising concerns for judicial independence.
Document 13: Supreme court: While the Philippines is generally considered a civil law nation, its Supreme Court is heavily modelled after the American Supreme Court. This can be attributed to the fact that the Philippines was colonized by both Spain and the United States, and the system of laws of both nations strongly influenced the development of Philippine laws and jurisprudence. Even as the body of Philippine laws remain mostly codified, the Philippine Civil Code expressly recognizes that decisions of the Supreme Court "form part of the law of the land", belonging to the same class as statutes. The 1987 Philippine Constitution also explicitly grants to the Supreme Court the power of judicial review over laws and executive actions. The Supreme Court is composed of 1 Chief Justice and 14 Associate Justices. The court sits either en banc or in divisions, depending on the nature of the case to be decided.
Document 14: Separation of powers under the United States Constitution: An example of the first view is the regulation of attorneys and judges, and the establishment of rules for the conduct of the courts, by the Congress and in the states the legislatures. Although in practice these matters are delegated to the Supreme Court, the Congress holds these powers and delegates them to the Supreme Court only for convenience in light of the Supreme Court's expertise, but can withdraw that delegation at any time.
Document 15: Macau: Macau was formerly a colony of the Portuguese Empire, after Ming China leased the territory as a trading post in 1557. Originally governing under Chinese authority and sovereignty, Portugal was given perpetual occupation rights for Macau in 1887. Macau remained under Portuguese control until 1999, when it was returned to China. As a special administrative region, Macau maintains a separate political and economic system apart from mainland China.
ground_truth: Portuguese-based legal system
sub_queries: the former portuguese colony that is now a special administrative region of china is Answer: Macau
Macau 's legal system comes from what tradition? Answer: Portuguese-based legal system