Original sentence: Brought about by an invasion from the Socialist Republic of Vietnam, which routed the Khmer Rouge,  this communist state existed from 1979 until 1993, with Vietnam and the Soviet Union as its main allies.Despite the odds stacked against it, which included being dismissed as a "puppet state" of Vietnam and being imposed grievous economic sanctions and a debilitating Civil War, the PRK/SOC was able to achieve the reconstruction of Cambodia as a nation after the destruction wreaked by Khmer Rouge rule.It enjoyed very limited international recognition and failed to secure United Nations endorsement
Edited sentence: Although it enjoyed very limited international recognition and failed to secure United Nations endorsement, the PRK was the de facto government of Cambodia between 1979 and 1993.Brought about by an invasion from the Socialist Republic of Vietnam, which routed the Khmer Rouge armies, it had Vietnam and the Soviet Union as its main allies.Despite the odds stacked against it, which included being dismissed as a "puppet state" of Vietnam and being imposed grievous economic sanctions and a debilitating Civil War, the PRK/SOC was able to achieve the reconstruction of Cambodia as a nation after the total destruction of the country's institutions, infrastructure and intelligentsia wreaked by Khmer Rouge rule.The PRK/SOC existed as a communist state from 1979 until 1991, year in which the ruling single party abandoned its Marxist-Leninist ideology