During the Montenegrin–Ottoman War (1876–78), the Montenegrin army managed to capture certain areas and settlements along the border, and incorporated them into the state such as the town of Podgorica that had a significant Slavic Muslim population. The Muslim population of Podgorica fled and Slavic Muslims from the town migrated and resettled in Shkodër city and its environs. From 1878 onward a small Muslim Montenegrin speaking community living near Shkodër exists and are known as "Podgoriçani", due to their origins from Podgorica in Montenegro.