 At the same time, he continued to participate in the activities of the revolutionary organization.In April 1926, Atanasov was elected mayor of Nevrokop and remained in this position until May 1932.As mayor, he planned the public organization of the town – he created the first urbanization plan, he constructed a water-conduit and an electricity grid, he built a new secondary school.