His grandfather is Emperor Wu of Han. His father, Liu Bo (劉髆), King Ai of Changyi (昌邑哀王) died in 88 BC, and he inherited his father's kingdom in 86 BC. Historical records imply that he was a toddler at that time. Liu Bo was a son of Emperor Wu of Han. After Emperor Wu's crown prince Liu Ju committed suicide in 91 BC, Liu Bo was among the candidates for the title of crown prince; the title ultimately went to young Liu Fuling, who succeeded Emperor Wu as Emperor Zhao of Han.