In response to the collapse of other Warsaw Pact governments and the increasing street protests, the Communist Party of Czechoslovakia announced on 28 November that it would relinquish power and dismantle the one-party state. Two days later, the legislature formally deleted the sections of the Constitution giving the Communists a monopoly of power. Barbed wire and other obstructions were removed from the border with West Germany and Austria in early December. On 10 December, President Gustáv Husák appointed the first largely non-communist government in Czechoslovakia since 1948, and resigned. Alexander Dubček was elected speaker of the federal parliament on 28 December and Václav Havel the President of Czechoslovakia on 29 December 1989.
The astonishing quickness of these events was in part due to the unpopularity of the communist regime and changes in the policies of its Soviet guarantor as well as to the rapid, effective organisation of these public initiatives into a viable opposition. The result was the end of 41 years of one-party rule in Czechoslovakia, and the subsequent dismantling of the planned economy and conversion to a parliamentary republic. Faced with an overwhelming popular repudiation, the Communist Party all but collapsed. Its leaders, Husák and party chief Miloš Jakeš, resigned in December 1989, and Havel was elected President of Czechoslovakia on 29 December.