He gained considerable notoriety after shelling the Majlis of Iran and execution of several constitutionalist leaders on June 23, 1908.
Upon the Shah's abdication and escape to Russia, Liakhov surrendered the Persian Cossack Brigade.
However, Liakhov was pardoned by the constitutionalist leaders, speculated to be for fear of Russian retribution, and was sent back to Saint Petersburg.
After the Russian Revolution, Lyakhov joined the White movement, serving in General Anton Denikin's Volunteer Army.
After April 1919, he was moved in the reserve of the Volunteer Army, retired from military service and settled in the suburb of Batumi.