Several reforms were introduced by the QIn dynasty .
The strength of the Qin state was greatly increased by the `` Legalist `` reforms of Shang Yang in the fourth century BC , during the Warring States period .