Question: When did WW2 end in the country that seized Libya from the main subject of the Ottoman era in the history of Rila's country?

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> However Italy's conquests were always heavily contested, both by various insurgencies (most prominently the Greek resistance and Yugoslav partisans) and Allied military forces, which waged the Battle of the Mediterranean throughout and beyond Italy's participation. In July 1943, following the Allied invasion of Sicily, Benito Mussolini was arrested by order of King Victor Emmanuel III, provoking a civil war. Ultimately the Italian empire collapsed after disastrous defeats in the Eastern European and North African campaigns. Italy's military outside of the peninsula itself collapsed, its occupied and annexed territories falling under German control. Italy surrendered to the Allies at the end of the Italian Campaign. <SEP> from childhood, gaddafi was aware of the involvement of european colonialists in libya; his nation was occupied by italy, and during the north african campaign of world war ii it witnessed conflict between italian and british troops. according to later claims, gaddafi's paternal grandfather, abdessalam bouminyar, was killed by the italian army during the italian invasion of 1911. at world war ii's end in 1945, libya was occupied by british and french forces. although britain and france intended on dividing the nation between their empires, the general assembly of the united nations (un) declared that the country be granted political independence. in 1951, the un created the united kingdom of libya, a federal state under the leadership of a pro-western monarch, idris, who banned political parties and established an absolute monarchy. <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. Bulgaria declared independence in 1908. 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. <SEP> now with nato support in the form of air cover, the rebel militia pushed westward, defeating loyalist armies and securing control of the centre of the country. gaining the support of amazigh (berber) communities of the nafusa mountains, who had long been persecuted as non-arabic speakers under gaddafi, the ntc armies surrounded gaddafi loyalists in several key areas of western libya. in august, the rebels seized zliten and tripoli, ending the last vestiges of gaddafist power. on 25 august, the arab league recognised the ntc to be "the legitimate representative of the libyan state", on which basis libya would resume its membership in the league. <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.