During his tenancy of office the system adopted at Shanghai was applied to the other treaty ports, so that when on Mr Lay's resignation Mr Hart was appointed inspector-general of foreign customs, he found himself at the head of an organization which collected a revenue of upwards of eight million taels per annum at fourteen treaty ports.