Question: When was the city where Internal Affairs was filmed taken by the British?

full_context: Document 1: Election 2: Election 2 (literal title: "Black Society: Harmony is a Virtue"), also known as Triad Election in the United States, is a 2006 Category III Hong Kong crime film directed by Johnnie To with a large ensemble cast that includes Louis Koo, Simon Yam and Nick Cheung. A sequel to the 2005 film "Election", the film concludes the events of the first film centring on Lok (Yam), who this time struggles to keep his title as triad boss as a triad re-election draws near, while Jimmy (Koo) attempts to retire as a triad to become a legitimate businessman.
Document 2: The Criminal Investigator II: The Criminal Investigator II (Traditional Chinese: O記實錄II; lit. "The O Files II") is a 1996 Hong Kong police procedural television drama. Produced by Jonathan Chik with a screenplay edited by Chow Yuk-ming and Chiu Ching-yung, the drama is a TVB production and the direct sequel to 1995's "The Criminal Investigator". The story follows a team of investigators from the Organized Crime and Triad Bureau (OCTB) unit of the Royal Hong Kong Police Force.
Document 3: Overheard 3: Overheard 3 (Chinese: 竊聽風雲3) is a 2014 Hong Kong-Chinese crime-thriller film written and directed by Alan Mak and Felix Chong and starring Sean Lau, Louis Koo, Daniel Wu, Zhou Xun and Michelle Ye. It is a sequel to the 2011 film "Overheard 2" in which Lau, Koo and Wu play different roles with a different storyline (abolishing the Small House Policy), but the key elements of the previous two films are kept. The film was released in China on 29 May 2014 and in Hong Kong on 5 June 2014.
Document 4: Overheard 2: Overheard 2 is a 2011 Hong Kong crime thriller film produced by Derek Yee, written and directed by Alan Mak and Felix Chong and starring Louis Koo, Lau Ching-wan and Daniel Wu. It is a sequel to the 2009 film "Overheard" where Koo, Lau and Wu play different roles with a different storyline, but the key elements of the first film are kept. Another sequel, "Overheard 3" was released on 30 May 2014.
Document 5: Running Out of Time 2: Running Out of Time 2 (, literal title:"Hidden War 2") is a 2001 Hong Kong crime caper film co-directed by Johnnie To and Law Wing-cheung. It is a sequel to To's 1999 film "Running Out of Time", with Lau Ching-wan returning as Inspector Ho Sheung-sang, who this time has to go after an elusive thief played by Ekin Cheng.
Document 6: Infernal Affairs: Infernal Affairs is a 2002 Hong Kong crime thriller film directed by Andrew Lau and Alan Mak and written by Mak and Felix Chong. It tells the story of a police officer who infiltrates a Triad, and another officer secretly working for the same gang. It is the first in the "Infernal Affairs" series and is followed by "Infernal Affairs II" and "Infernal Affairs III".
Document 7: Infernal Affairs III: Infernal Affairs III is a 2003 Hong Kong crime thriller film directed by Andrew Lau and Alan Mak. It is the third and final installment in the "Infernal Affairs" film series, and is both a sequel and a semi-prequel to the original film, as it intercuts events before and after the events in the first film. Andy Lau, Tony Leung, Kelly Chen, Anthony Wong, Eric Tsang, and Chapman To reprise their roles again, joined by new cast members Leon Lai and Chen Daoming.
Document 8: British Hong Kong: British Hong Kong was the period during which Hong Kong was under British Crown rule from 1842 to 1997 (excluding the Japanese occupation from 1941 to 1945). It was established as a Crown colony and later designated a British Dependent Territory in 1981. Hong Kong Island was ceded to the United Kingdom by the Qing dynasty of China after the First Opium War (1839 -- 1842). The Kowloon Peninsula was added to the colony after the Second Opium War (1856 -- 1860). Finally, in 1898, the New Territories were added under a 99 - year lease. Although Hong Kong Island and Kowloon were ceded to Britain in perpetuity, the New Territories -- which comprised over 90 per cent of Hong Kong's land -- had such a vital role in the economy that the British government agreed to transfer sovereignty of the entirety of Hong Kong to China upon the expiration of the lease in 1997. The transfer has been considered by many as marking the end of the British Empire.
Document 9: Infernal Affairs (film series): Infernal Affairs is a series of three crime-thriller films directed by Andrew Lau and Alan Mak, starring Andy Lau and Tony Leung. It tells the story of a police officer who infiltrates the triads, and a police officer secretly working for the same gang. The Chinese title means "the non-stop way", a reference to Avici, the lowest level of hell in Buddhism. The English title is a word play combining the law enforcement term "internal affairs" with the adjective 'infernal'.
Document 10: Handover of Hong Kong: The transfer of sovereignty over Hong Kong from the United Kingdom to China, referred to as ``the Handover ''or`` the Return'' internationally, took place on 1 July 1997. The landmark event marked the end of British administration in Hong Kong, and is often regarded as marking the end of the British Empire.
Document 11: Handover of Hong Kong: The Handover of Hong Kong (or simply ``the Handover ''), also known as`` the Return'' in mainland China, was the transfer of sovereignty over Hong Kong from the United Kingdom to China in a ceremony on 30 June 1997. The territory of Hong Kong comprised Hong Kong Island and the Kowloon Peninsula, which were ceded to Britain in 1842 and 1860, respectively, and the New Territories, which was leased for 99 years in 1898. The retrocession of Hong Kong Island and Kowloon was conducted to coincide with the expiration of the New Territories' lease at midnight on 30 June. The landmark event marked the end of British rule in Hong Kong, and is regarded by some as marking the end of the British Empire.
Document 12: British Hong Kong: British Hong Kong was the period during which Hong Kong was under British Crown rule from 1841 to 1997 (excluding the Japanese occupation from 1941 to 1945). It was established as a Crown colony and later designated a British Dependent Territory in 1981. Hong Kong Island was ceded to the United Kingdom by the Qing dynasty of China after the First Opium War (1839 -- 42). The Kowloon Peninsula was added to the colony after the Second Opium War (1856 -- 60). Finally, in 1898, the New Territories were added under a 99 - year lease. Although Hong Kong Island and Kowloon were ceded to Britain in perpetuity, the New Territories -- which comprised over 90 per cent of Hong Kong's land -- had such a vital role in the economy that the British government agreed to transfer sovereignty of the entirety of Hong Kong to China upon the expiration of the lease in 1997. The transfer has been credited by some as marking the end of the British Empire.
Document 13: Handover of Hong Kong: The transfer of sovereignty over Hong Kong from the United Kingdom to China, referred to as ``the Handover ''internationally or`` the Return'' in China, took place on 1 July 1997. The landmark event marked the end of British administration in Hong Kong, and is often regarded as marking the end of the British Empire.
Document 14: 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 15: British Empire: In September 1982, Prime minister Margaret Thatcher travelled to Beijing to negotiate with the Chinese government on the future of Britain's last major and most populous overseas territory, Hong Kong. Under the terms of the 1842 Treaty of Nanking, Hong Kong Island itself had been ceded to Britain in perpetuity, but the vast majority of the colony was constituted by the New Territories, which had been acquired under a 99-year lease in 1898, due to expire in 1997. Thatcher, seeing parallels with the Falkland Islands, initially wished to hold Hong Kong and proposed British administration with Chinese sovereignty, though this was rejected by China. A deal was reached in 1984—under the terms of the Sino-British Joint Declaration, Hong Kong would become a special administrative region of the People's Republic of China, maintaining its way of life for at least 50 years. The handover ceremony in 1997 marked for many, including Charles, Prince of Wales, who was in attendance, "the end of Empire".
ground_truth: 1842
sub_queries: Which place is Infernal Affairs in? Answer: Hong Kong
when was Hong Kong taken by the british Answer: 1842