Generate text that is semantically similar to this text: by the time that qin had totally collapsed , xiang yu was china 's hegemon .
the han dynasty came after the qin dyansty , after the government under shi huang di collapsed .