4 9 , ▁Bal ' arab ▁was ▁defeated ▁and ▁killed . ▁This ▁was ▁the ▁end ▁of ▁Y ar uba ▁power . ▁A hm ad ▁was ▁now ▁the ▁und is put ed ▁r uler ▁of ▁O man . ▁In ▁ 1 7 4 9 ▁the ▁Ib adi ▁tribes ▁of ▁O man ▁elected ▁A hm ad ▁bin ▁Sa id ▁as ▁their ▁Im am . ▁He ▁election ▁took ▁place ▁on ▁ 9 ▁June ▁ 1 7 4 9 ▁at ▁R usta q . ▁ ▁Re ign ▁ ▁A hm ad ▁bin ▁Sa id ▁had ▁w ides p read ▁popular ▁support ▁as ▁the ▁person ▁who ▁had ▁liber ated ▁the ▁country ▁from ▁the ▁Pers ian ▁occup iers . ▁He ▁quickly ▁cons olid ated ▁his ▁power ▁through ▁whatever ▁techniques ▁were ▁exped ient . ▁A ▁ship ▁owner ▁and ▁tr ader ▁in ▁out look , ▁he ▁saw ▁the ▁economic ▁potential ▁of ▁O man ' s ▁position ▁on ▁the ▁trade ▁routes , ▁and ▁gained ▁alleg iance ▁from ▁the ▁trib al ▁leaders ▁by ▁eng aging ▁them ▁in ▁commercial ▁vent ures . ▁A hm ad ▁bin ▁Sa id ▁made ▁his ▁seat ▁at ▁R usta q . ▁From ▁there ▁he ▁ruled ▁for ▁ 3 9 ▁generally ▁peace ful ▁years , ▁although ▁he ▁had ▁to ▁deal ▁with ▁intr ig ues ▁by ▁members ▁of ▁the ▁de posed ▁Ya ' Ar uba ▁family , ▁by ▁other ▁tribes ▁and ▁by ▁two ▁of ▁his ▁sons . ▁ ▁A hm ad ▁bin ▁Sa id ▁encourag ed ▁the ▁development ▁of ▁agricult ure ▁and ▁mar itime ▁trad ing . ▁For ▁the ▁first ▁time