Input (grade 9): He was also granted the title of "King of Han" by Xiang Yu, when the latter split the former Qin empire into the Eighteen Kingdoms. Liu was known by this title before becoming Emperor of China.
Output (grade 12): After defeating the great King, Xiang Yu, Emperor Gaozu of Han unified China and became the first emperor of Han Dynasty.