In the nineteenth century, when the movement for independence from the Ottoman Empire became irrepressible, especially after the First Serbian Uprising (1804) under Karađorđe and the Second Uprising (1815) under Miloš Obrenović, Serbia embarked upon an ever-broader diplomatic rapport with the Porte in Constantinople, with Russia, Austria, Great Britain, France, Germany, Italy and other European nations and neighboring states, such as Romania, Bulgaria and Greece. Serbia became fully independent and internationally recognized at the Congress of Berlin in 1878.