<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["en", "en"].<end_of_turn>
<start_of_turn>user
Complete the following sentence:
A Briton, Horatio Nelson Lay, was placed in the position of inspector general of the Imperial Customs Service, which was organized in April 1861. This office developed from the inspection of customs, which had been created in 1854 in response to the threat attack on Shanghai by the...<end_of_turn>
<start_of_turn>model
Tebeldes Taiping. The office was designed to set tariffs equally and generate new revenue for the Manchu court from the importation of foreign goods. Lay's main task was to monitor all aspects of maritime import revenues and supervise the Chinese inspectors who collected tariffs at treaty ports. More than an innovation, this measure was the institutionalization of a practice that had been carried out since 1854.<end_of_turn><eos>