Question: When did the european state that seized Libya from the main subject of the Ottoman era in the history of the country Rila is located become an ally in WW2?

<P0-S0> As a result of this conflict, the Ottoman Turks ceded the provinces of Tripolitania, Fezzan, and Cyrenaica to Italy. <P0-S1> These provinces together formed what became known as Libya. <SEP> <P1-S0> the partition of the ottoman empire (armistice of mudros, 30 october 1918 -- abolition of the ottoman sultanate, 1 november 1922) was a political event that occurred after world war i and the occupation of constantinople by british, french and italian troops in november 1918. the partitioning was planned in several agreements made by the allied powers early in the course of world war i, notably the sykes - picot agreement. <P1-S1> as world war loomed, the ottoman empire sought protection but was rejected by britain, france, and russia, and finally formed the ottoman -- german alliance. <P1-S2> the huge conglomeration of territories and peoples that formerly comprised the ottoman empire was divided into several new states. <P1-S3> the ottoman empire had been the leading islamic state in geopolitical, cultural and ideological terms. <P1-S4> the partitioning of the ottoman empire led to the rise in the middle east of western powers such as britain and france and brought the creation of the modern arab world and the republic of turkey. <P1-S5> resistance to the influence of these powers came from the turkish national movement but did not become widespread in the post-ottoman states until after world war ii. <SEP> <P2-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. <P2-S1> the sovereign state is made of three historical regions: tripolitania, fezzan and cyrenaica. <P2-S2> with an area of almost , libya is the fourth largest country in africa, and is the 16th largest country in the world. <P2-S3> libya has the 10th-largest proven oil reserves of any country in the world. <P2-S4> the largest city and capital, tripoli, is located in western libya and contains over one million of libya's six million people. <P2-S5> the second-largest city is benghazi, which is located in eastern libya. <SEP> <P3-S0> The participation of Italy in the Second World War was characterized by a complex framework of ideology, politics, and diplomacy, while its military actions were often heavily influenced by external factors. <P3-S1> The imperial ambitions of the Fascist regime, which aspired to restore the Roman Empire in North Africa and the Mediterranean (the Mare Nostrum, or the Italian Empire), were partially met with the annexation of Albania and the Province of Ljubljana, and the occupation of British Somaliland and other territories, but ultimately collapsed after defeats in the East and North African campaigns. <P3-S2> In July 1943, following the Allied invasion of Sicily, Benito Mussolini was arrested by order of King Victor Emmanuel III, provoking a civil war. <P3-S3> Italy surrendered to the Allies at the end of the Italian Campaign. <P3-S4> The northern half of the country was occupied by Germans with the fascists help and made a collaborationist puppet state (with more than 600,000 soldiers), while the south was governed by monarchist and liberal forces, which fought for the Allied cause as the Italian Co-Belligerent Army (at its height numbering more than 50,000 men), helped by circa 350,000 partisans of disparate political ideologies that operated all over Italy. <SEP> <P4-S0> Rila (, pronounced ) is a town in southwestern Bulgaria, in Rila Municipality, part of Kyustendil Province. <P4-S1> It is the administrative centre of Rila Municipality, which lies in the southeastern part of Kyustendil Province. <SEP> <P5-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. <P5-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. <P5-S2> In 1885 the autonomous province of Eastern Rumelia came under the control of the Bulgarian Tsar. <P5-S3> Bulgaria declared independence in 1908.