▁of ▁the ▁Mal ay ▁Pen ins ular , ▁eastern ▁Sum atra , ▁Singapore , ▁Bang ka , ▁J amb i ▁and ▁the ▁R ia u ▁Islands . ▁ ▁According ▁to ▁the ▁ 1 8 4 9 ▁Joh or ▁Ann als , ▁on ▁ 2 7 ▁September ▁ 1 6 7 3 ▁the ▁L aks am ana ▁( ad mir al ) ▁of ▁Joh or , ▁Tun ▁Abd ul ▁J amil , ▁was ▁ordered ▁by ▁Abd ul ▁J al il ▁Shah ▁III ▁to ▁found ▁a ▁settlement ▁in ▁S ung ai ▁Car ang , ▁U lu ▁R ia u , ▁on ▁B int an ▁Island . ▁The ▁settlement ▁in ▁S ung ai ▁Car ang ▁was ▁later ▁known ▁as ▁R ia u ▁L ama . ▁Initial ly ▁a ▁for tr ess ▁to ▁protect ▁the ▁Joh or ▁Empire , ▁R ia u ▁L ama ▁then ▁prosper ed ▁and ▁became ▁an ▁increasing ly ▁prominent ▁entre p ôt ▁for ▁regional ▁trade ▁in ▁the ▁Stra it ▁of ▁Mal ac ca . ▁ ▁U lu ▁R ia u ▁became ▁the ▁capital ▁of ▁Joh or ▁during ▁the ▁reign ▁of ▁Sultan ▁I bra him ▁when ▁he ▁re located ▁the ▁capital ▁from ▁B atu ▁S aw ar , ▁K ota ▁T ing gi ▁in ▁Pen ins ular ▁Joh or ▁after ▁the ▁old ▁capital ▁was ▁s ack ed ▁by ▁J amb i ▁forces ▁on ▁ 4 ▁October ▁ 1 7 2 2 . ▁R ia u ▁L ama ▁then ▁became ▁the ▁capital ▁of ▁the ▁emp ire ▁for ▁ 6 5 ▁years , ▁from ▁ 1