It collapsed in 1989 in the wake of the Romanian Revolution, but Romania kept its socialist-era constitution until 1991. Romania also retained its membership in the Warsaw Pact until its dissolution on 1 July 1991; that role had been largely symbolic since the late 1960s.