▁for ▁the ▁perpet u ation ▁of ▁his ▁state . ▁He ▁set ▁up ▁a ▁number ▁of ▁fact ories ▁and ▁indust ries ▁in ▁Tag dem t , ▁his ▁new ▁capital . ▁Local ▁production ▁of ▁the ▁necessary ▁goods , ▁especially ▁the ▁war ▁effort , ▁was ▁accord ed ▁great ▁importance . ▁The ▁cities ▁of ▁T lem cen , ▁M asc ara , ▁Mil iana , ▁M ede a ▁and ▁Tag dem t ▁made ▁the ▁necessary ▁pow der . ▁Tag dem t ▁and ▁Mil iana ▁had ▁found ries ▁and ▁weapon ▁fact ories . ▁He ▁also ▁wished ▁to ▁reg ulate ▁the ▁sou ks ▁with ▁greater ▁surve ill ance ▁and ▁security ▁of ▁the ▁sites ▁and ▁trade ▁routes ▁to ▁promote ▁trade . ▁Agricult ure ▁was ▁encourag ed , ▁with ▁the ▁supp ression ▁of ▁the ▁k har aj ▁to ▁encou rage ▁the ▁f ella hs ▁and ▁the ▁util ization ▁of ▁periods ▁of ▁tr uce . ▁Finally , ▁the ▁em ir ▁set ▁up ▁a ▁currency ▁struck ▁at ▁Tag dem pt ▁to ▁ensure ▁the ▁financial ▁aut onomy ▁of ▁the ▁state ▁in ▁ 1 8 3 4 ▁to ▁ 1 8 4 1 . ▁ ▁Military ▁structure ▁▁ ▁The ▁em ir ▁realized ▁that ▁the ▁power ▁of ▁the ▁state ▁reflect s ▁in ▁its ▁military ▁strength ; ▁also ▁it ▁gives ▁ii ▁a ▁great ▁image . ▁The ▁Em ir ▁used ▁the ▁military ▁to ▁en force ▁order ▁and ▁security ▁and ▁to ▁stop ▁the ▁cha os ▁that ▁spread ▁after ▁the ▁fall ▁of ▁Turkish ▁rule ▁in ▁Al ger ia . ▁ ▁Social ▁organization ▁in ▁Al ger ia ▁was ▁mainly ▁trib al