Yet despite the many advantages that it had brought to China, the American presence was ultimately an imperial one, just as much as the British or French. Americans had also been prominent in the opium trade and enjoyed privileges of legal immunity in China.