 During this period, as Xiao Daocheng prepared to take over the throne, Xiao Ni carried the title of Duke of Yong'an, and in 478 (after Xiao Daocheng defeated Shen Youzhi, who opposed his seizure of power) was made the governor of the key Jing Province (荊州, modern central and western Hubei).In 479, Xiao Daocheng had Emperor Shun yield the throne to him, ending Liu Song and starting Southern Qi.He created Xiao Ni the Prince of Yuzhang.