 Here he enrolled in the Bulgarian Social Democratic Workers' Party.In 1903, Vlahov entered a military service in an officer's school in Sofia.Then he worked as a teacher in the Bulgarian Men's High School of Thessaloniki where he was active in IMRO.