Xu Shuzheng
After Chinese troops under General Xu Shuzheng occupied Mongolia in 1919, Magsarjav was imprisoned in Niislel Khuree in mid-1920 on suspicion of having contacts with resistance groups headed by Sükhbaatar. Manlaibaatar Damdinsüren had died in the same prison after suffering torture at the hands of the Chinese. Magsarjav was freed by Baron Ungern after the latter had liberated Niislel Khüree from Chinese troops in February 1921. From March 1921, Magsarjav served as commander-in-chief of all Mongolian troops under Ungern von Sternberg's puppet government. He assisted Baron Ungern in recruiting Mongolian soldiers and participated in the Baron's operation expelling remaining Chinese troops from Mongolia.