Negotiations began , and in 1984 Prime Minister Margaret Thatcher signed the Sino-British Joint Declaration , in which Britain confirmed the transfer of the New Territories and all of Hong Kong to China in 1997 .
The New Territories were originally part of China .