Kammala jumla mai zuwa: Daular zuriyar Malaccan ta kasance har zuwa mutuwar Mahmud II, lokacin da Daular Bendahara ta gaje ta, daular ministocin da a baya suka yi aiki a Masarautar Malacca. Yaren mutanen Holland sun kara jin barazana a karni na 18, musamman lokacin da Kamfanin Indiya na Gabas ta Gabas ya fara kafa kasancewarsu a arewacin Malay Peninsula, wanda ya sa Yaren mutanen Holland suka kwace yankunan Bugis na Riau kuma suka kori Bugis daga duka Riau da Selangor don haka waɗannan yankuna ba za su fada ƙarƙashin mulkin Burtaniya ba. Wannan ya kawo karshen mulkin siyasa na Bugis a masarautar Johor-Pahang-Riau, wanda hakan ya sa aka dakatar da Bugis daga Riau a 1784. A lokacin gwagwarmaya tsakanin Bugis da Yaren mutanen Holland, Mahmud Shah III ya kulla yarjejeniyar kariya tare da VOC a cikin jirgin HNLMS "Utrecht" kuma an ba wa sultan izinin zama a Riau tare da kariyar Dutch. Tun daga lokacin, rashin yarda tsakanin Bugis da Malay ya ƙaru. Daga 1796 zuwa 1801 da kuma daga 1807 zuwa 1818, an sanya Malacca a ƙarƙashin Residency na Burtaniya yayin da Faransa ta ci Netherlands a cikin Yaƙe-yaƙe na Napoleon, amma an mayar da ita ga Yaren mutanen Holland a 1818. Malacca ya zama yankin da aka shirya don Birtaniya
nasara a shekara ta 1811.