"socialist law" refers to the legal systems in socialist and formerly socialist states such as the former soviet union and the people's republic of china. academic opinion is divided on whether it is a separate system from civil law, given major deviations based on marxist-leninist ideology, such as subordinating the judiciary to the executive ruling party.