It was in late 19th cent. the rights granted to the working classes gave impetus to socialism and the formation of Socialist political parties in many countries.These were also formed because due to the influence by the teachings of Karl Marx. The labor unions were formed to improve the working conditions of the workers etc.