Question: When did the European state that seized the country containing Al-Berka, from the empire against which the Gallipoli Campaign was fought, become an Ally in WWII?

full_context: Document 1: Bani Walid District: Bani Walid or Ben Walid, prior to 2007, was one of the districts of Libya, administrative town Bani Walid. In the 2007 administrative reorganization the territory formerly in Bani Walid District was transferred to Misrata District.
Document 2: Libya: 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.
Document 3: British Empire: The British declaration of war on Germany and its allies also committed the colonies and Dominions, which provided invaluable military, financial and material support. Over 2.5 million men served in the armies of the Dominions, as well as many thousands of volunteers from the Crown colonies. The contributions of Australian and New Zealand troops during the 1915 Gallipoli Campaign against the Ottoman Empire had a great impact on the national consciousness at home, and marked a watershed in the transition of Australia and New Zealand from colonies to nations in their own right. The countries continue to commemorate this occasion on Anzac Day. Canadians viewed the Battle of Vimy Ridge in a similar light. The important contribution of the Dominions to the war effort was recognised in 1917 by the British Prime Minister David Lloyd George when he invited each of the Dominion Prime Ministers to join an Imperial War Cabinet to co-ordinate imperial policy.
Document 4: Muammar Gaddafi: 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.
Document 5: Military history of Italy during World War II: 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. Ultimately the Italian empire collapsed after disastrous defeats in the Eastern European and North African campaigns. In July 1943, following the Allied invasion of Sicily, Benito Mussolini was arrested by order of King Victor Emmanuel III, provoking a civil war. 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.
Document 6: Benghazi: Benghazi continues to hold institutions and organizations normally associated with a national capital city, such as the country's parliament, national library, and the headquarters of Libyan Airlines, the national airline, and of the National Oil Corporation. This creates a constant atmosphere of rivalry and sensitivities between Benghazi and Tripoli, and between Cyrenaica and Tripolitania. The population was 670,797 at the 2006 census.On 15 February 2011,  an uprising against the government of Muammar Gaddafi occurred in the city. The revolts spread by 17 February to Bayda, Tobruk, Ajdabya, Al Marj in the East and Zintan, Zawiya in the West, calling for the end of the Gaddafi Regime. Benghazi was taken by Gaddafi opponents on 21 February, who founded the National Transitional Council. On 19 March, the city was the site of the turning point of the Libyan Civil War, when the Libyan Army attempted to score a decisive victory against the NTC by attacking Benghazi, but was forced back by local resistance and intervention from the French Air Force authorized by UNSC Resolution 1973 to protect civilians, allowing the rebellion to continue.
Document 7: British Empire: By the start of the 20th century, Germany and the United States challenged Britain's economic lead. Subsequent military and economic tensions between Britain and Germany were major causes of the First World War, during which Britain relied heavily upon its empire. The conflict placed enormous strain on the military, financial and manpower resources of Britain. Although the British Empire achieved its largest territorial extent immediately after World War I, Britain was no longer the world's pre-eminent industrial or military power. In the Second World War, Britain's colonies in South-East Asia were occupied by Imperial Japan. Despite the final victory of Britain and its allies, the damage to British prestige helped to accelerate the decline of the empire. India, Britain's most valuable and populous possession, achieved independence as part of a larger decolonisation movement in which Britain granted independence to most territories of the Empire. The transfer of Hong Kong to China in 1997 marked for many the end of the British Empire. Fourteen overseas territories remain under British sovereignty. After independence, many former British colonies joined the Commonwealth of Nations, a free association of independent states. The United Kingdom is now one of 16 Commonwealth nations, a grouping known informally as the Commonwealth realms, that share one monarch—Queen Elizabeth II.
Document 8: Nationalist faction (Spanish Civil War): Italy under the Fascist leadership of Benito Mussolini supported the overthrow of the republic and the establishment of a regime that would serve as a client state to Italy. Italy distrusted the Spanish Republic due to its pro-French leanings and prior to the war had made contact with Spanish right - wing groups. Italy justified its intervention as an action intended to prevent the rise of Bolshevism in Spain. Italy's Fascist regime considered the threat of Bolshevism a real risk with the arrival of volunteers from the Soviet Union who were fighting for the Republicans. Mussolini provided financial support as well as training to the Alfonsists, Carlists, and Falange. Mussolini met Falangist leader José Antonio Primo de Rivera in 1933 but did not have much enthusiasm in the establishment of fascism in Spain at that time.
Document 9: Ottoman Tripolitania: 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.
Document 10: Italian Tripolitania: Italian Tripolitania was an Italian colony, located in present-day western Libya, that existed from 1911 to 1934. It was part of the territory conquered from the Ottoman Empire after the Italo-Turkish War in 1911. Italian Tripolitania included the western northern half of Libya, with Tripoli as its main city. In 1934, it was unified with Cyrenaica in the colony of Italian Libya.
Document 11: British Empire: Britain's fears of war with Germany were realised in 1914 with the outbreak of the First World War. Britain quickly invaded and occupied most of Germany's overseas colonies in Africa. In the Pacific, Australia and New Zealand occupied German New Guinea and Samoa respectively. Plans for a post-war division of the Ottoman Empire, which had joined the war on Germany's side, were secretly drawn up by Britain and France under the 1916 Sykes–Picot Agreement. This agreement was not divulged to the Sharif of Mecca, who the British had been encouraging to launch an Arab revolt against their Ottoman rulers, giving the impression that Britain was supporting the creation of an independent Arab state.
Document 12: Al-Berka: Al-Berka (Arabic:البركة) is a Basic People's Congress administrative division of Benghazi, Libya. As of the 2011 Libyan revolution, the area is simply known as a district of Benghazi after the Gaddafi era Basic People's Congresses were disbanded.
Document 13: Military history of Italy during World War II: 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. In July 1943, following the Allied invasion of Sicily, Benito Mussolini was arrested by order of King Victor Emmanuel III, provoking a civil war. 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.
Document 14: Military history of Italy during World War II: 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. Italian troops would occupy parts of Greece and Yugoslavia until the Italian armistice with the Allies in September 1943.
Document 15: Muammar Gaddafi: Accusing the rebels of being "drugged" and linked to al-Qaeda, Gaddafi proclaimed that he would die a martyr rather than leave Libya. As he announced that the rebels would be "hunted down street by street, house by house and wardrobe by wardrobe", the army opened fire on protests in Benghazi, killing hundreds. Shocked at the government's response, a number of senior politicians resigned or defected to the protesters' side. The uprising spread quickly through Libya's less economically developed eastern half. By February's end, eastern cities like Benghazi, Misrata, al-Bayda and Tobruk were controlled by rebels, and the Benghazi-based National Transitional Council (NTC) had been founded to represent them.
ground_truth: July 1943
sub_queries: Al-Berka >> country Answer: Libya
The Gallipoli Campaign fought against which country? Answer: the Ottoman Empire
which european state seized Libya from #2 in 1911 Answer: Italy
when did Italy become an ally in ww2 Answer: July 1943