Pedzisa mutsara unotevera: Dzinza revazukuru veMalaccan rakagara kusvikira pakufa kwaMahmud II, apo rakateverwa neBendahara Dynasty, dzinza remakurukota avo vakamboshanda muMalacca Sultanate. VaDutch vakanzwa vachityisidzirwa zvakanyanya muzana ramakore rechi18, kunyanya apo kambani yeEngland East India Company yakatanga kutanga kuvapo kuchamhembe kweMalay Peninsula, zvichitungamira maDutch kutora nzvimbo dzeBugis dzeRiau uye kudzinga maBugis kubva kuRiau neSelangor kuitira kuti nzvimbo idzi dzisazove pasi pehutongi hweBritain. Izvi zvakapedza kutonga kwevaBugisi muumambo hweJohor-Pahang-Riau, zvichikonzera kuti vaBugisi varambidzwe muRiau muna 1784. Munguva yekukwikwidzana pakati pevaBugis nemaDutch, Mahmud Shah III akapedzisa chibvumirano chekudzivirira neVOC vari mungarava yeHNLMS "Utrecht" uye sultan akabvumidzwa kugara muRiau aine dziviriro yeDutch. Kubvira ipapo, kusavimbana pakati pevaBugisi nevaMalay kwakakura. Kubva muna 1796 kusvika muna 1801 uye kubva muna 1807 kusvika muna 1818, Malacca yakaiswa pasi peBritish Residency sezvo Netherlands yakakundwa neFrance muNapoleonic Wars, asi yakadzoserwa kuDutch muna 1818. Malacca yakashanda senzvimbo yokumirira maBritish
kukunda muna 1811.