 He was Governor of Hong Kong from 1848 to 1854.He was succeeded by his son, the second Baronet.He was a diplomat and served as Envoy Extraordinary and Minister Plenipotentiary to Serbia between 1900 and 1903 and to Switzerland between 1905 and 1909.