affairs in China, 1840-69