直系
After the fall of the Qing dynasty he started working for Yang Zengxin and recruited Dungan troops for him in 1911, and was posted in 1916 to Kashgar. In 1924 Yang intercepted some correspondence between Ma and the Zhili clique and became suspicious.