The main effect of Legalism in Qin China, 221 - 206 BCE, was to create strict rules and harsh punishments to those who disobey the rules, as well as rewards for those who carefully observed the law.
This is because after the Warring States period, Qin rulers admired the philosophy of legalism, which aims to strict obedience to law, as opposite to confucianism and daoism, which believed on softer ways to rule and obey the law, so, in consequence, they adopted this philosophy.