The Anti-Socialist Laws or Socialist Laws were a series of acts, the first of which was passed on October 19, 1878, by the German Reichstag lasting until March 31, 1881, and extended four times. The legislation gained widespread support after two failed attempts to assassinate Kaiser Wilhelm I by the radicals Max Hödel and Dr. Karl Nobiling. The laws were designed by Chancellor Otto von Bismarck with the goal of reversing the growing strength of the Social Democratic Party, which was blamed for inspiring the assassins. The perks occasion tended to strengthen the socialist, so Bismarck dropped the laws and changed his coalition, becoming an ally of his former enemies the Catholic Centre party, which appealed to Catholic workers to oppose socialism.
Although the law did not ban the SPD directly, it aimed to cripple the organization through various means. The banning of any group or meeting of whose aims were to spread social democratic principles, the outlawing of trade unions and the closing of 45 newspapers are examples of suppression. The party circumvented these measures by having its candidates run as ostensible independents, by relocating publications outside of Germany and by spreading Social Democratic views as verbatim publications of Reichstag speeches, which were privileged speech with regard to censorship. The law also banned the display of emblems of the Social Democratic Party. To circumvent the law, social democrats wore red bits of ribbons in their buttonholes. These actions, however, led to arrest and jail sentences. Subsequently, red rosebuds were substituted by social democrats. These actions also led to arrest and jail sentences. The judge ruled that in general everyone has a right to wear any flower as suits their taste, but when socialists as a group wear red rosebuds, it becomes a party emblem. In a final display of protest against this clause of the anti-socialist laws, female socialists began wearing red flannel petticoats, and when they wanted to show a sign of solidarity, they would lift their outer-skirts. Female socialists, especially, would display in protest their red petticoats to the police, who were constrained by social norms of decency from enforcing this new sign of socialist solidarity. The laws' main proponent was Chancellor Otto von Bismarck, who feared the outbreak of a socialist revolution similar to the one that created the Paris Commune in 1871. Despite the government's attempts to weaken the SPD, the party continued to grow in popularity. A bill introduced by Bismarck in 1888 which would have allowed for the denaturalization of Social Democrats was rejected. After Bismarck's resignation in 1890, the Reichstag did not renew the legislation, allowing it to lapse.
May 11, 1878: 2 shots fired at Wilhelm I by Max Hödel. May 17: Prussian government demands the Bundesrat ban the SPD. In the Reichstag only conservatives support the bill. June 2: Wilhelm I is shot by Dr Karl Nobiling. June 11: Reichstag dissolved. July 30: New elections, socialists lose 3 of their 12 seats. Anti-Socialist bill passed by the two conservative parties and the national liberals. October 19: Bill passed by 221 to 149. Social Democrats voluntarily dissolved the party. November 28: Minor state of siege declared in Berlin, 67 social democrats expelled. August 21-3 1880: Wyden party congress sees the expulsion of Johann Most and Wilhelm Hasselmann for anarchism by the SPD's moderate wing. October 28: Minor state of siege in Hamburg. April 4, 1881: Social Democrats back accident insurance but demand several amendments. June 1881: Minor state of siege in Leipzig. Local SPD organization destroyed. September 8: Moderate socialist Louis Viereck begs Engels to tone down the radicalism of the party newspaper Sozialdemocrat August 19–21, 1882: Secret conference in Zürich organized by Bebel. It partly heals the division between moderates and radicals. 1883: Anti-Socialist laws partly relaxed, strengthening SPD. moderates March: Secret Copenhagen Congress condemns State socialism. January 13, 1885: Frankfurt police chief Rumpf stabbed to death by the young anarchist Julius Lieske. April 2, 1886: Reichstag votes 173 to 146 to renew the anti-socialist laws. April 11: Prussian interior minister Puttkaner issues the strike decree. It gives the police the power to use the anti-socialist laws against strikers and expel their leaders. May 11: Political meetings in Berlin now need police permission 48 hours before. May 20: Minor state of siege in Spremberg. July 31: 9 Socialist leaders convicted at the Saxon state court for joining an illegal organization. December 16: Minor state of siege in Frankfurt am Main. February 15, 1887: Minor state of siege in Stettin. October 2–6: St. Gall party congress. Bebel defeats his opponents. Fall: Bismarck fails to get socialist leaders expelled from Germany. May 2, 1889: Coal miners strike in the Rühr unsupported by SPD July 14–20: 2nd international founded in Paris. January 25, 1890: Reichstag refuses to renew the anti-socialist laws. February 20: Social Democrats win 19.75% of the vote. March 18: Bismarck resigns.
Some Social Democratic members of the Reichstag during the period