The history of the fierce Ba people, converted to Daoism towards the end of the 2nd century CE, their exile to Northwestern China and their collaboration with the Li family in establishing a Daoist state in Sichuan that was to last for half a century.