In 1912, Montenegro, Serbia, Bulgaria and Greece fought the Ottomans in the First Balkan War. After a victory at Sarantaporo, Greek troops advanced towards Monastir but were defeated by the Ottomans at Sorovich. The Battle of Monastir (16–19 November 1912) led to Serbian occupation of the city. According to the Treaty of Bucharest, 1913, the region of Macedonia was divided into three parts among Greece, Serbia and Bulgaria. Monastir was ceded to Serbia and its official name became the Slavic toponym "Bitola".