Hong Kong territory profile
The former British colony became a special administrative region of China in 1997, when Britain's 99-year lease of the New Territories, north of Hong Kong island, expired.
Hong Kong is governed under the principle of "one country, two systems", under which China has agreed to give the region a high degree of autonomy and to preserve its economic and social systems for 50 years from the date of the handover.
But Beijing can veto changes to the political system, and pro-democracy forces have been frustrated by what they see as the slow pace of political reform.
Chief executive: Carrie Lam
Carrie Lam was sworn in as Hong Kong's first female chief executive on 1 July 2017 on the 20th anniversary of Hong Kong's handover from Britain to China.
Widely seen as Beijing's preferred candidate, Lam secured 777 votes from the 1,194-member Election Committee which picks the city's next chief and is believed to be dominated by Beijing loyalists. This was Hong Kong's first leadership election since the 2014 pro-democracy protests.
Lam served as the city's secretary for development before being appointed the chief secretary for administration in 2012, Hong Kong's number two official.
She is said to have been student activist and has been described as the "Iron Lady" and "the fighter".
Hong Kong is home to many of Asia's biggest media players. It has a major film industry and is a centre for broadcasting and publishing.
The territory has kept its editorially-dynamic media, in contrast to the rest of China. But media watchdogs have flagged up concerns about growing mainland influence.
There are no indications of widespread online censorship. Local news websites are an important source of independent information.
Some key dates in Hong Kong's history:
1842 - China cedes Hong Kong island to Britain after the First Opium War.
1898 - China leases the New Territories together with 235 islands to Britain for 99 years.
1941-45 - Japan occupies Hong Kong during Second World War.
1970s - Hong Kong is established as an "Asian Tiger" - one of the region's economic powerhouses - with a thriving economy based on high-technology industries.
1997 - Hong Kong is handed back to the Chinese authorities after more than 150 years of British control.
2014 - Pro-democracy demonstrators occupy the city centre for weeks in protest at the Chinese government's decision to limit voters' choices in the 2017 Hong Kong leadership election. More than 100,000 people took to the streets at the height of the Occupy Central protests.