Which country did Britain sign an agreement with in 1839?

Britain signed an agreement with the Qing Dynasty of China in 1839. The agreement was called the Convention of Chuenpi and it gave Britain control over Hong Kong Island.
Copyright Wanderlust World © https://www.ynyoo.com