Rubuta ci gaba don wannan sakin layi - Daga 1796 zuwa 1801, kuma daga 1807 zuwa 1818 Malacca an sanya shi a ƙarƙashin mazaunin Biritaniya na ɗan lokaci yayin da Faransa ta ci Netherlands a cikin Yaƙe-yaƙe na Napoleon. An mayar da shi zuwa ga Yaren mutanen Holland a 1818. Malacca ya zama wurin da aka shirya nasarar Birtaniya a 1811
Ka yi haƙuri. Daga baya aka sanya hannu kan wata yarjejeniya a cikin 1824 tsakanin Burtaniya da Yaren mutanen Holland don hana ƙarin tasirin Burtaniya a Java; Sakamakon daya shine cewa Daular Johor-Riau ta fada karkashin ikon mallaka guda biyu tare da Malacca, wanda daga baya aka mika shi ga Birtaniyya a 1825 kuma aka haɗa shi a matsayin wani ɓangare na Settlements Settlements. Birnin ya kasance ƙarƙashin ikon mazaunin Penang kai tsaye, kuma an rushe tsohuwar kagara a cikin birni. 'Yan Burtaniya sun kafa ƙa'idodi don abubuwan more rayuwa tare da gina, alal misali, titunan baya, murhu, farfajiyar baya, hanyoyin fita daga wuta, titunan wuta, da kuma masu tafiya da ƙafa.