In Tabriz Mohammad Taqi was educated in sciences, Turkish, Persian, Arabic and foreign languages. In 1907 he left for Tehran to continue his education. After 5 years he took up the rank of Second Lieutenant in the Gendarmerie, within two years he was promoted to captain. After that he held a variety of posts such as Second Commander in a battalion in Qazvin, served in Hamedan and Yazd and also was an instructor and interpreter at Gendarmerie school in Yusef Abad, capital. He was promoted to Major when World War I broke out.
In November 1915 as commander of the Gendarmerie in Hamedan he launched an attack on the pro-Russian Persian Cossack Brigade at the Battle of Musalla. His gendarmes managed to disarm the Persian Cossacks and Mohammad Taqi managed to convince some of the cossacks to join his forces in a patriotic speech he made to them after their defeat. Mohammad Taqi and Major Azizollah Khan Zarghami as Gendarmerie commanders could not defend Hamedan against an advancing Russian Caucasus Army which was superior in numbers and weapons. The gendarmes retreated to Kermanshah where they were defeated by the Russians, with many fleeing to the Ottoman Empire.
