The empire was in a perpetual state of crisis as it suffered continual territorial losses: Bulgaria declared independence, Austria-Hungary annexed Bosnia and ethnic conflict in Ottoman Macedonia continued unabated. Italy invaded Ottoman Tripolitania in 1911 and the empire lost the vast majority of its remaining European territory when the Balkan League overran Rumelia in 1912. In 1914, the Ottoman Empire entered World War I and the increasingly radicalised CUP conducted ethnic cleansing and genocide against the empire's Armenian, Assyrian, and Greek citizens, events sometimes collectively referred to as the Late Ottoman genocides. Following the Ottoman surrender in 1918, the CUP leadership fled into exile and the Allies occupied Constantinople. The Ottoman parliament angered the Allies by signing the Amasya Protocol with Turkish revolutionaries in Ankara and agreeing to a "Misak-ı Millî" (National Pact). As plans for the partition of the Ottoman Empire advanced following the Conference of London, the Allies forced the dissolution of the assembly, thus bringing the Second Constitutional Era to an end. Many parliamentarians would become members of the Grand National Assembly during Turkey's War for Independence, and ultimately continued their careers in the Republic.