In 1915, Ma Anliang and Yang Zengxin arrested and attempted to executed Ma Wanfu, when Ma Qi rescued him as he was being shipped to execution and brought him to Xining.