During the Qin dynasty, Confucianism—along with all other non-Legalist philosophies, such as Daoism—were suppressed by the First Emperor; early Han dynasty emperors did the same. Legalism denounced the feudal system and encouraged severe punishments, particularly when the emperor was disobeyed