in the next few years, vlahov was politically active as a member of the ottoman parliament as a representative from the people's federative party (bulgarian section). after the dissolution of the pfp in 1911, he became a member the ottoman socialist party and in 1912 was elected again as a deputy in the ottoman parliament. after the balkan wars, vlachov was a representative of the kingdom of bulgaria in high diplomatic and administrative positions in odessa, kiev, pristina and vienna. after world war i and the reestablishment of imro in 1920, vlahov was elected as alternate member of its central committee, representing the left wing. at that time he was a secretary of the chamber of commerce in varna. todor alexandrov urged him to establish a contact between imro and soviet russia. as a messenger served krastyo rakovski, his best man and prominent figure of the comintern. on behalf of imro, vlahov departed in july 1923 to moscow. so in 1924, imro entered negotiations in vienna with the comintern about collaboration between the communists and the macedonian movement and the creation of a united macedonian movement. vlahov helped the subscription of the so-called may manifesto about forming a balkan communist federation and cooperation with the soviet union. after the subsequent rift between the organization and the communists, the new leadership headed by ivan mihailov excluded him from the organization and he was sentenced to death. in 1925, he was one of the founders of the imro (united) in vienna. he also became a member of bulgarian communist party. during the late 1920s, he worked in france, germany and austria as a comintern publicist. during this period he was chased by imro and against him were organized several failed assassination attempts.