Towards the end of the Ottoman Empire, Üsküb, along with other towns in Macedonia – Krusevo and Manastir (now Bitola) – became main hubs of rebellious movements against Ottoman rule. Üsküb was a key player in the Ilinden Uprising of August 1903 when the native population of the region declared the emergence of the Krusevo Republic. While the Krusevo Republic lasted only ten days before being quelled by the Ottomans, it was a sign of the beginning of the end for Ottoman rule. After 500 years of rule in the area the Ottomans were finally ousted in 1912 by the Serbian army during the first Balkan War.