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?

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. 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. In 1885 the autonomous province of Eastern Rumelia came under the control of the Bulgarian Tsar. Bulgaria declared independence in 1908. <SEP> As a result of this conflict, the Ottoman Turks ceded the provinces of Tripolitania, Fezzan, and Cyrenaica to Italy. These provinces together formed what became known as Libya. <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> 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. as world war loomed, the ottoman empire sought protection but was rejected by britain, france, and russia, and finally formed the ottoman -- german alliance. the huge conglomeration of territories and peoples that formerly comprised the ottoman empire was divided into several new states. the ottoman empire had been the leading islamic state in geopolitical, cultural and ideological terms. 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. 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> In July 1943, following the Allied invasion of Sicily, Benito Mussolini was arrested by order of King Victor Emmanuel III, provoking a civil war. 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. 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. Italy surrendered to the Allies at the end of the Italian Campaign. 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> 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.