 That year, Sultan Muhammad bin Muhammad Muhyiddin Zainussalihin was disarmed and forced to abdicate by Thomas Stamford Raffles.This event was the ultimate blow that ended the history of the Banten Sultanate.After the British returned Java to the Dutch in 1814 as part of the Anglo-Dutch Treaty of 1814, Banten was transformed into a "residentie" (residency) of the Dutch East Indies.