Query: Who was the first emperor during the Qin dynasty?
Context: China's first imperial dynasty was the Qin dynasty (221–206 BC). The Qin unified the Chinese Warring States by conquest, but their empire became unstable after the death of the first emperor Qin Shi Huangdi. Within four years, the dynasty's authority had collapsed in the face of rebellion.