The First Opium War (第一次鴉片戰爭, 1839–42), also known as the Opium War and the Anglo-Chinese War, was fought between the United Kingdom and the Qing dynasty over their conflicting viewpoints on diplomatic relations, trade, and the administration of justice for foreign nationals in China.[5]