 The Rovca and Lower and Upper Morača tribes were incorporated into Montenegro only in 1820, after the defeat of the Ottoman army at the Morača river, and Vasojevići even later, in 1858.Prince-Bishop Petar I (r. 1782-1830) waged a successful campaign against the "bey" of Bosnia in 1819; the repulse of an Ottoman invasion from Albania during the Russo-Turkish War (1828–29) led to the recognition of Montenegrin sovereignty over Piperi.Petar I had managed to unite the Piperi and Bjelopavlići with Montenegro, and when Bjelopavlići and the rest of "the Hills" (Seven hills) were joined into Peter's state, a polity officially called "Black Mountain (Montenegro) and the Hills".