Pursuant to an agreement signed by China and the UK on 19 December 1984 , Hong Kong became the Hong Kong Special Administrative Region ( SAR ) of the People 's Republic of China on 1 July 1997 .