Wilhelm Martin Philipp Christian Ludwig Liebknecht (; 29 March 1826 – 7 August 1900) was a German social democratic politician and journalist. A principal founder of the Social Democratic Party of Germany (SPD), his political career was a pioneering project in steering a Marxist-inspired workers' party to electoral success and mass membership. Liebknecht served as a member of the North German Reichstag from 1867 to 1871, and of the German Reichstag from 1874 until his death in 1900.

Born in Giessen, Liebknecht was radicalized as a student and became an active participant in the 1848 Revolutions. After the defeat of the uprisings, he spent thirteen years in exile, first in Switzerland and then in London. In London, he became a close associate and student of Karl Marx and Friedrich Engels. After returning to Germany in 1862, he co-founded the Social Democratic Workers' Party of Germany (SDAP) in 1869 with his long-time political collaborator August Bebel. The party, known as the "Eisenachers", was established as a mass-based political party committed to a Marxist program.

Liebknecht was a prominent opponent of the Franco-Prussian War. His refusal to vote for war credits and his outspoken criticism of the annexation of Alsace–Lorraine led to his arrest and a two-year prison sentence for treason in 1872. He was the main architect of the 1875 Gotha unity congress, which merged the SDAP with the Lassallean General German Workers' Association to form the party that would become the SPD. During the period of the Anti-Socialist Laws from 1878 to 1890, he used his position in the Reichstag to maintain the party's public voice and was instrumental in guiding it through the years of persecution.

As a leader of the largest socialist party in Europe, Liebknecht was a major figure in the Second International, which he helped found in 1889. He served as the editor-in-chief of the SPD's central organ, Vorwärts, and became an elder statesman of the party, defending orthodox Marxism against the rise of revisionism in his later years. A committed democrat, he advocated for a socialist republic achieved through parliamentary means. His son, Karl Liebknecht, also became a prominent socialist leader.

Early life and radicalization Wilhelm Liebknecht was born on 29 March 1826 in Giessen, Grand Duchy of Hesse. His father was Ludwig Christian Liebknecht, a government official, and his mother was Catharina, née Hirsch. His lineage included a line of university-educated public servants; his great-grandfather, Johann Georg Liebknecht, had been a professor of mathematics and theology at the University of Giessen.

His childhood was marked by tragedy. His mother died in October 1831 when he was five, and his father died fourteen months later. Orphaned, Wilhelm and his three siblings moved in with their seventy-two-year-old paternal grandmother, but she died in May 1834. From the age of eight, Liebknecht was raised by his guardian, Karl Osswald, a theologian who had been a friend of his father. Liebknecht recalled his childhood as "somewhat too strict and too far removed from the pleasures of youth". A formative influence on the young Liebknecht was the fate of his maternal great-uncle, the pastor Friedrich Ludwig Weidig. Weidig was a leading figure in the revolutionary democratic underground in Hesse in the 1830s who was arrested, tortured, and died in prison in 1837. Liebknecht later stated that Weidig's death made a "deep, perhaps a decisive impression" on him.

Despite the family's financial difficulties, Liebknecht's inheritance was sufficient for him to pursue a university education. He graduated first in his class from the Gymnasium in Giessen in 1842. He went on to study philology, theology, and philosophy at the universities of Giessen, Berlin, and Marburg. It was during his time as a student that his political radicalization began. In Berlin, he was exposed to the writings of utopian socialists like Henri de Saint-Simon, as well as the materialist philosophy of Ludwig Feuerbach and the critical theology of David Strauss. He became a "conscious socialist" after reading Friedrich Engels's The Condition of the Working Class in England, which, he later recalled, "opened a new world to me".

Liebknecht became active in student radicalism, joining the "Allemania" student corps at Giessen. In August 1846, he played a major role in organizing a student strike, in which the entire student body marched out of town and camped on a nearby hill in protest against the university senate. The strike ultimately succeeded, but Liebknecht, fearing reprisals, moved to the University of Marburg. His political activities continued to draw the attention of the authorities. In the summer of 1847, after participating in a late-night demonstration in solidarity with the political prisoner Sylvester Jordan, Liebknecht was warned of his impending arrest and fled Germany for a planned emigration to the United States.

Revolution and exile 1848 Revolutions While travelling to a port for his journey to America, Liebknecht had a chance encounter on a train with the headmaster of a progressive school in Zurich, Switzerland. The headmaster, an associate of the revolutionary Julius Fröbel, offered him a position as a volunteer teacher at the school. Liebknecht accepted, abandoning his plans for America and arriving in Zurich in July 1847. He soon became a correspondent for the left-leaning newspaper Mannheimer Abendzeitung and reported on the Sonderbund War, a civil war that led to the establishment of a liberal federal state in Switzerland.

When the February Revolution of 1848 broke out in Paris, Liebknecht hurried to the city to join the German exiles. He became a member of the German Legion, led by the revolutionary poet Georg Herwegh, which planned an armed expedition to start a republican uprising in Germany. The legion was defeated in southern Baden in April. Liebknecht, who had been ill, arrived too late to join the fighting.After the defeat of Herwegh's Legion, Liebknecht remained active in the democratic movement. He joined the second republican uprising in Baden, led by Gustav Struve, in September 1848. Liebknecht was dispatched to organize recruits in the countryside. Shortly after the uprising was defeated at the Battle of Staufen, Liebknecht was arrested. He spent the next eight months in prison in Freiburg, awaiting trial for high treason. It was during his imprisonment that he met his future wife, Ernestine Landolt, the daughter of the prison pastor. On 12 May 1849, as his trial was about to begin, a military mutiny in Baden sparked the third and final uprising of the Baden Revolution. The rebels freed the political prisoners, and Liebknecht's charges were dismissed. He joined the revolutionary government and fought in its army during the Campaign for the Imperial Constitution, serving as an adjutant to Gustav Struve. After the final defeat of the uprising by Prussian troops in July 1849, Liebknecht fled across the border into France and then to Switzerland.

Exile in Switzerland and London Liebknecht settled in Geneva, where a radical government directed the affairs of the canton. He became a prominent figure in the German Workers' Educational Union in the city. In a public debate, he successfully argued for a class-conscious social democratic orientation against the liberal position of his opponents, and the members elected him as their president. He then worked to build a national organization of German workers' associations in Switzerland. In February 1850, as he travelled to a congress of these associations in Murten, he was arrested by Swiss authorities. The Swiss government, under pressure from Prussia and other German states, accused Liebknecht's organization of planning an armed invasion of Germany and ordered his expulsion.

In mid-May 1850, Liebknecht arrived in London, where he would remain in exile for the next twelve years. He lived in poverty in the Soho district, an area with a large immigrant population, supporting himself with journalistic work and language lessons. Soon after his arrival, at a summer picnic of the Communist Laborer's Educational Club, he met Karl Marx. He became a member of the Communist League and a close associate of Marx and Friedrich Engels. Liebknecht's relationship with Marx was that of a "pupil", and he later wrote that Marx became his "teacher in the narrower and wider sense of the word; I was his friend and confidant". In 1859, he was a founder and editor of the German-language newspaper Das Volk, which served as a public organ for the London exiles and received contributions from Marx and Engels. He married Ernestine Landolt in 1854. The couple had two daughters, Alice and Gertrude. Ernestine died from tuberculosis in 1867.

Political career in Germany Return and founding of the SDAP In 1862, after a Prussian amnesty for political offenders of 1848, Liebknecht returned to Germany. He initially worked for the Norddeutsche Allgemeine Zeitung in Berlin, but he resigned when he discovered that the paper was being influenced by the government of Otto von Bismarck. His opposition to Bismarck's policies continued throughout his career. In 1863, he joined the newly founded General German Workers' Association (ADAV) of Ferdinand Lassalle. Liebknecht quickly became a leading internal critic of Lassalle's policies, particularly his pro-Prussian stance on German unification and his dictatorial leadership style.

In 1865, Liebknecht was expelled from Prussia and moved to Leipzig in the Kingdom of Saxony. There he met the young turner August Bebel. The two men became close friends and political allies, with the more theoretically grounded Liebknecht providing ideas while Bebel provided organizational talent. Bebel, in his memoirs, described Liebknecht as "a man of extremes", a "tempestuous, tireless propagandist" whose boundless enthusiasm was channeled by Bebel's more pragmatic leadership. They worked within the Federation of German Workers' Associations (VDAV) and the left-liberal Saxon People's Party to build an anti-Prussian, socialist movement. In a key 1869 speech, Liebknecht argued against parliamentary participation for its own sake, viewing the Reichstag as a mere "fig-leaf of absolutism", but he encouraged participation in elections as a tool for agitation. At the VDAV congress in Nuremberg in 1868, they successfully persuaded the organization to adopt the program of the First International.

In 1869, Liebknecht and Bebel co-founded the Social Democratic Workers' Party of Germany (SDAP) at a congress in Eisenach. The party, known as the "Eisenachers", was formed by members of the VDAV and dissenting members of the ADAV who had rebelled against the dictatorial leadership of Lassalle's successor, Johann Baptist von Schweitzer. The call for the unity congress was published in Liebknecht's newspaper, the Demokratische Wochenblatt. The Eisenach Program, largely drafted by Liebknecht, declared the party a section of the First International and established a democratic organizational structure.

Opposition to Franco-Prussian War and treason trial