In politics, a red flag is a symbol of Socialism, or Communism, or sometimes left-wing politics in general. It has been associated with left-wing politics since the French Revolution. Socialists adopted the symbol during the Revolutions of 1848 and it became a symbol of communism as a result of its use by the Paris Commune of 1871. The flags of several communist states, including China, Vietnam and the Soviet Union, are explicitly based on the original red flag. The red flag is also used as a symbol by some democratic socialists and social democrats, for example the Avami National Party (Pakistan), French Socialist Party and the Social Democratic Party of Germany. The Labour Party in Britain used it until the late 1980s. It was the inspiration for the socialist anthem, The Red Flag.