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 end the one-party state. Two days later, the federal parliament formally deleted the sections of the Constitution giving the Communist Party 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.