Xiao Zhaoye
In 494, with Emperor Wu's frivolous and incompetent grandson Xiao Zhaoye as emperor and with Xiao Luan as his prime minister, Xiao Luan carried out a coup d'état and overthrew Xiao Zhaoye. (It was around this time that Xiao Baojuan's name was changed from Mingxian to Baojuan.) Xiao Luan initially made Xiao Zhaoye's younger brother Xiao Zhaowen emperor, but after further cementing his power, including killing many sons of both Emperor Wu and Emperor Wu's father Emperor Gao, Southern Qi's founding emperor, Xiao Luan took over the throne himself (as Emperor Ming). As Xiao Baojuan's older brother Xiao Baoyi was said to be severely disabled and unable to talk, Xiao Baojuan, as the second son and the oldest born of Xiao Luan's wife, was created crown prince.