1840 in international relations