The relationship between Hong Kong and China is shaped by history, colonialism and a very interesting political arrangement. Hong Kong was a British colony from 1842 until 1997 as a result of the unequal treaties following the Opium Wars between Asian and Western countries. In this case, it was between the Qing Dynasty and Britain. These treaties forced Asian countries to open ports, cede countries like Hong Kong and accept foreign control.
In 1997, Hong Kong was returned to China under the agreement known as “One Country, Two Systems”. This framework allowed Hong Kong to remain part of China as a Special Administrative Region, keeping its own legal system, economy and many civil liberties for 50 years after the handover. In practice, this has created tension because Hong Kong operates with more freedoms and a different political culture than mainland China, but Beijing ultimately holds the most authority. There is a lot of debate over autonomy, democracy and national control over Hong Kong, especially during major events like the 2019 protests and the 2020 National Security Law.