At the Hague Congress of 1872, Marx made a remark in which he admitted that while there are countries "where the workers can attain their goal by peaceful means", in most European countries "the lever of our revolution must be force". In 1875, Marx attacked the Gotha Program that became the program of the Social Democratic Party of Germany (SDP) in the same year in his "Critique of the Gotha Program". Marx was not optimistic that Germany at the time was open to a peaceful means to achieve socialism, especially after German Chancellor Otto von Bismarck had enacted the Anti-Socialist Laws in 1878. At the time of the Anti-Socialist Laws beginning to be drafted but not yet published in 1878, Marx spoke of the possibilities of legislative reforms by an elected government composed of working-class legislative members, but also of the willingness to use force should force be used against the working class.