Later on 24 August 1990, Tajik SSR declared its sovereignty over Soviet laws. By 1991, Tajikistan participated in a referendum in March as part of the attempt to preserve the union with a turnout of 96.85%. However, this did not happen when hardliners took control of Moscow during the next three days in August. After the failure of the coup, the Tajik SSR was renamed to the Republic of Tajikistan on 31 August 1991. On 9 September 1991, Tajikistan seceded from the Soviet Union months before the country itself ceased to exist on 26 December 1991. Conflicts after independence caused a civil war throughout the country over the next six years.