The Soviet coup d'état attempt on 19 August 1991 became the spark for the so-called Chechen revolution. On 21 August the OKChN called for the overthrow of the Supreme Soviet of the Chechen-Ingush ASSR. On 6 September 1991, OKChN squads seized the local KGB headquarters, and took over the building of the Supreme Soviet. The OKChN declared itself the only legitimate authority in the region. On 27 October 1991, Dudayev was elected president of the Chechen Republic. Dudayev, in his new position as president, issued a unilateral declaration of independence on 1 November 1991. Initially, his stated objective was for Checheno-Ingushetia to become a union republic within Russia.