The labour movement (or labor movement, see spelling differences) consists of two main wings, the trade union movement (UK English) or labor union movement (US English), also called trade unionism or labor unionism on the one hand, and the political labour movement on the other.
The labour movement developed in response to the depredations of industrial capitalism at about the same time as socialism. However, while the goal of the labour movement is to protect and strengthen the interests of labour within capitalism, the goal of socialism was to replace the capitalist system entirely.
In Europe, the labour movement began during the industrial revolution, when agricultural jobs declined and employment moved to more industrial areas. The idea met with great resistance. In the early 19th century, groups such as the Tolpuddle Martyrs of Dorset were punished and transported for forming unions, which was against the laws of the time.
Trade unionism was active during the early to mid 19th century and various labour parties and trade unions were formed throughout the industrialised parts of the world. The International Workingmen's Association, the first attempt at international coordination, was founded in London in 1864. The major issues included the right of the workers to organize themselves, and the right to an 8-hour working day. In 1871 workers in France rebelled and the Paris Commune was formed. From the mid-nineteenth century onward the labour movement became increasingly globalized.
The movement gained major impetus during the late 19th and early 20th centuries from the Catholic Social Teaching tradition which began in 1891 with the publication of Pope Leo XIII's foundational document, Rerum novarum, also known as "On the Condition of the Working Classes," in which he advocated a series of reforms including limits on the length of the work day, a living wage, the elimination of child labour, the rights of labour to organize, and the duty of the state to regulate labour conditions.