Treaty of Berlin
Montenegro became independent by the Treaty of Berlin signed after the Russo-Turkish War of 1877–1878.