Both republics participated in the referendum in March 1991 in an attempt to preserve the Soviet Union in a different form, but was soon hampered by the attempted coup in August of that year. As a consequence, both Uzbekistan and Tajikistan declared their independence in the months of 1991 and became members of the Commonwealth of Independent States, in which officially gave way for the dismemberment of the Soviet Union at the end of the year.