In 500, with Southern Qi in disarray because of the tyrannical rule of its emperor Xiao Baojuan, Northern Wei annexed the important city of Shouyang (壽陽, in modern Lu'an, Anhui) when the Southern Qi general Pei Shuye (裴叔業) surrendered the city to Northern Wei in fear of adverse actions by Xiao Baojuan. However, Northern Wei did not take further actions when Southern Qi was subsequently thrown into civil war during the rebellions of the generals Cui Huijing (崔慧景) and Xiao Yan.