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?

<P0-S0> 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. <P0-S1> the sovereign state is made of three historical regions: tripolitania, fezzan and cyrenaica. <P0-S2> with an area of almost , libya is the fourth largest country in africa, and is the 16th largest country in the world. <P0-S3> libya has the 10th-largest proven oil reserves of any country in the world. <P0-S4> the largest city and capital, tripoli, is located in western libya and contains over one million of libya's six million people. <P0-S5> the second-largest city is benghazi, which is located in eastern libya. <SEP> <P1-S0> 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. <P1-S1> 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> <P2-S0> 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. <P2-S1> 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. <P2-S2> In 1885 the autonomous province of Eastern Rumelia came under the control of the Bulgarian Tsar. <P2-S3> Bulgaria declared independence in 1908. <SEP> <P3-S0> Rila (, pronounced ) is a town in southwestern Bulgaria, in Rila Municipality, part of Kyustendil Province. <P3-S1> It is the administrative centre of Rila Municipality, which lies in the southeastern part of Kyustendil Province. <SEP> <P4-S0> Some 28 Italian divisions participated in the Balkan invasions. <P4-S1> 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ć). <P4-S2> 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. <P4-S3> Italian troops would occupy parts of Greece and Yugoslavia until the Italian armistice with the Allies in September 1943. <SEP> <P5-S0> As a result of this conflict, the Ottoman Turks ceded the provinces of Tripolitania, Fezzan, and Cyrenaica to Italy. <P5-S1> These provinces together formed what became known as Libya.