Japan and Russia signed the Treaty of Shimoda, establishing diplomatic relations and dividing the Kuril Islands between the two empires.