《宋史·列传·卷二百二十七》
宣和二年十月，方腊率众起义，自称圣公，建元永乐，设置官吏将帅，以头巾区别等级，从红巾往上分六等。
宣和二年十月，起为乱，自号圣公，建元永乐，置官吏将帅，以巾饰为别，自红巾而上凡六等。
In October of the second year of Xuanhe, Fang La led the masses to start an uprising. He claimed to be the HolyDuke, built the Yongle Era and appointed civil servants and generals. He distinguished the ranks with headwear and divided them into six grades from red to upper grades.