But this independence was short lived, as the Russian Soviet Federative Socialist Republic formed an alliance with the newly established Republic of Turkey, with the intention of partitioning and occupying Armenia. The ensuing Turkish–Armenian War devastated the Armenian Republic, forcing it to cede Western Armenia to Turkey.. Days after the signing of the Treaty of Alexandropol, the weakened republic in Eastern Armenia was invaded and occupied by the 11th Soviet Red Army, which established the Armenian Soviet Socialist Republic in its place. The Armenian Revolutionary Federation was banned by the new Bolshevik authorities, which transformed Armenia into a one-party state and brought the country under the Red Terror.