Sir Robert Hart, 1st Baronet, (20 February 1835 – 20 September 1911) was a British diplomat and official in the Qing Chinese government, serving as the second Inspector-General of China's Imperial Maritime Custom Service (IMCS) from 1863 to 1911. Beginning as a student interpreter in the consular service, he arrived in China at the age of 19 and resided there for 54 years, except for two short leaves in 1866 and 1874.

Hart was the most important and most influential Westerner in Qing dynasty China. According to Jung Chang, he transformed Chinese Customs "from an antiquated set-up, anarchical and prone to corruption, into a well-regulated modern organisation, which contributed enormously to China's economy." Professor Rana Mitter of the University of Oxford writes that Hart "was honest and helped to generate a great deal of income for China." Sun Yat-sen described him as "the most trusted as he was the most efficient and influential of 'Chinese.'"

Sir Robert Hart, 1st Baronet

Early life and education

Hart was born in a little house in Dungannon Street, Portadown, County Armagh, Ulster, Ireland. He was the eldest of 12 children of Henry Hart (1806–1875), who worked in the distilleries, and a daughter of John Edgar of Ballybreagh. Hart's father was a "man of forceful and picturesque character, of a somewhat unique strain, and a Wesleyan to the core." At the age of 12, Hart's family moved to Milltown (near Maghery), on the banks of the Lough Neagh, staying there for a year before moving on to Hillsborough, where he first attended school. He was sent for a year to a Wesleyan school in Taunton, England, where he learnt his first Latin. His father's anger that his son was allowed to return home unaccompanied at the end of the school year led him being sent to the Wesleyan Connexion School in Dublin (now Wesley College Dublin) instead.

Sir Robert Hart, 1st Baronet

Hart studied hard at school. By the age of 15, he was ready to leave school, and his parents decided to send him to the newly founded Queen's College, Belfast. He easily passed the entrance exams and earned himself a scholarship (he earned a further scholarship in the second year, and another in the third). He found little time for sports, but was heavily influenced by Ralph Waldo Emerson's Essays and had his first poem published in a Belfast newspaper. During his time at university, he became a favourite student of James McCosh, and they continued to correspond throughout the rest of their lives. In 1853, he took his degree examinations, and gained his B.A. at the age of 18. He also won medals in Literature as well as in Logic and Metaphysics, and left with the distinction of being a Senior Scholar. He decided to study for a master's degree but in spring 1854 was instead nominated by Queen's College for the Consular Service in China.

Sir Robert Hart, 1st Baronet

Consular Service in China

Hart went down to the Foreign Office in London, where he met with the Permanent Under-Secretary of State for Foreign Affairs, Edmund Hammond, and left for China in May 1854. Hart took a ship from Southampton to Alexandria, then travelled to Suez, then on to Galle and Bombay, before arriving in Hong Kong. He spent three months as a student interpreter at the Superintendency of Trade, before the return of John Bowring, the Governor of Hong Kong. On Bowring's return, Hart was assigned to the British Consulate in Ningpo. In 1855, following a dispute with his Portuguese colleague, the British Consul was suspended, with Hart taking over his duties for a few months. Hart's calmness and good judgement in the face of conflict between the Chinese and Portuguese earned him favourable recommendations. Hart returned to his duties following the appointment of a new Consul, and was still resident in Ningpo during the Ningpo massacre on 26 June 1857.