The Law of the Soviet Union was the law as it developed in the Soviet Union (USSR) following the October Revolution of 1917. Modified versions of the Soviet legal system operated in many Communist states following the Second World War—including Mongolia, the People's Republic of China, the Warsaw Pact countries of eastern Europe, Cuba and Vietnam.
Soviet law was rooted in pre-revolutionary Russian law and Marxism/Leninism. Pre-revolutionary influences included Byzantine law, Mongol law, Russian Orthodox Canon law, and Western law. Western law was mostly absent until the judicial reform of Alexander II in 1864, five decades before the revolution. Despite this, the supremacy of law and equality before the law were not well-known concepts, the tsar was still not bound by the law, and the "police had unlimited authority."
Marxism/Leninism viewed law as a superstructure in the base and superstructure model of society. "Capitalist" law was a tool of "bourgeois domination and a reflection of bourgeois values." Since law was a tool "to maintain class domination", in a classless society, law would inevitably disappear.