Question: When did the country seizing Libya in 1911 from the main empire of Ottoman era in the history of the country having Rila join the allies in ww2?

libya (; ; ), officially the state of libya, is a country in the maghreb region in north africa, bordered by the mediterranean sea to the north, egypt to the east, sudan to the southeast, chad to the south, niger to the southwest, algeria to the west, and tunisia to the northwest. the sovereign state is made of three historical regions: tripolitania, fezzan and cyrenaica. with an area of almost , libya is the fourth largest country in africa, and is the 16th largest country in the world. libya has the 10th-largest proven oil reserves of any country in the world. the largest city and capital, tripoli, is located in western libya and contains over one million of libya's six million people. the second-largest city is benghazi, which is located in eastern libya. <SEP> As a result of the Russo-Turkish War (1877–1878), the Principality of Bulgaria, a self-governing Ottoman vassal state that was functionally independent, was created. In 1885 the autonomous province of Eastern Rumelia came under the control of the Bulgarian Tsar. The history of Ottoman Bulgaria spans nearly 500 years, from the conquest by the Ottoman Empire of the smaller kingdoms emerging from the disintegrating Second Bulgarian Empire in the late 14th century, to the Liberation of Bulgaria in 1878. Bulgaria declared independence in 1908. <SEP> the battle of lepanto was a naval engagement that took place on 7 october 1571 when a fleet of the holy league, of which the venetian empire and the spanish empire were the main powers, inflicted a major defeat on the fleet of the ottoman empire in the gulf of patras, where ottoman forces sailing westward from their naval station in lepanto (the venetian name of ancient naupactus ναύπακτος, ottoman i̇nebahtı) met the fleet of the holy league sailing east from messina, sicily. the holy league was a coalition of european catholic maritime states arranged by pope pius v and led by adm. john of austria, as agreed between philip ii of spain -- who largely financed the league -- and the venetian republic (main contributor of ships). <SEP> It is the administrative centre of Rila Municipality, which lies in the southeastern part of Kyustendil Province. Rila (, pronounced ) is a town in southwestern Bulgaria, in Rila Municipality, part of Kyustendil Province. <SEP> Italian troops would occupy parts of Greece and Yugoslavia until the Italian armistice with the Allies in September 1943. Some 28 Italian divisions participated in the Balkan invasions. The coast of Yugoslavia was occupied by the Italian Army, while the rest of the country was divided between the Axis forces (a German and Italian puppet State of Croatia was created, under the nominal sovereignty of Prince Aimone, Duke of Aosta, but actually governed by the Croatian fascist Ante Pavelić). The Italians assumed control of most of Greece with their 11th Army, while the Bulgarians occupied the northern provinces and the Germans the strategically most important areas. <SEP> These provinces together formed what became known as Libya. As a result of this conflict, the Ottoman Turks ceded the provinces of Tripolitania, Fezzan, and Cyrenaica to Italy.