 In his youth, however, he also favored spending time in imperial gardens rather than studies or learning about important affairs of state.In 519, a serious riot occurred in Luoyang, after the official Zhang Zhongyu () proposed that the civil service regulations be changed to disallow soldiers to become civilian officials.The soldiers became angry and stormed both the ministry of civil service and the mansion of Zhang Zhongyu's father, Zhang Yi (), killing Zhang Yi and serious injuring Zhang Zhongyu and his brother Zhang Shijun ().