 In spring 506, Wei Rui was able to capture Hefei.In fall 506, Wei Rui attacked the Northern Wei army stationed at Luokou for nearly a year without advancing.However, when Wei army gathered, Xiao Hong Prince of Linchuan, the Liang commander and younger brother of Emperor Wu, escaped in fear, causing his army to collapse without a battle.