Task: Translation
Input (English): By the time that Qin had totally collapsed, Xiang Yu was China's hegemon.
Output (Romanian): Când Qin s-a prăbușit, Xiang Yu era hegemonul Chinei.