Ma Shenglin was a Hui Jahriyya Sufi rebel who fought against the Qing dynasty in the Panthay Rebellion.