In 1910 Montenegro became a kingdom, and as a result of the Balkan wars in 1912 and 1913, a common border with Serbia was established, with Shkodër being awarded to Albania, though the current capital city of Montenegro, Podgorica, was on the old border of Albania and Yugoslavia. Montenegro became one of the Allied Powers during World War I (1914–18). In the Battle of Mojkovac fought in January 1916 between Austria-Hungary and the Kingdom of Montenegro, Montenegrins achieved decisive victory despite being outnumbered five to one. From 1916 to October 1918 Austria-Hungary occupied Montenegro. During the occupation, King Nicholas fled the country and a government-in-exile was set up in Bordeaux.