It was created by the warlord Shang Yang during the Warring States Period and defeated several other states in the area to unite China .
The Qin 's strength had been consolidated by Lord Shang Yang in the 4th century BC , during the Warring States Period .