Amongst the Jangalis, there were many who felt that the Bolsheviks offered a real solution to the problems shared by both Russia and Iran, namely the domination of the upper classes and the Imperial Court. Kuchik Khan's second-in-command, Ehsanollah Khan Dustdar, had become a communist and an ardent advocate of an alliance with the Bolsheviks. Kuchik Khan, though hesitant and cautious towards such an idea due to both his religious and Iranian nationalist background, accepted and the Jangalis entered into an agreement with the Bolsheviks.