Subsequently, in 1914, Romania managed to impose its candidate for the throne of the Principality of Albania and support his reign by deploying military forces up to a battalion in strength. Romania's brief stint as a considerable power thus started with the 1913 Treaty of Bucharest, but ended in October 1916. Having joined the First World War on the side of the Allies on 27 August 1916, Romania launched an invasion of Transylvania. However, by 16 October, Transylvania had been cleared of Romanian troops. One week later, on 23 October, Romania's chief seaport was captured by the Central Powers.