It appears that the restoration go the Bendahara line and the end of the so-called legitimate or usurper rule coincided with the ascension to the throne of Sultan Omar Ali Saifuddin I.
Sultan Omar Ali Saifuddin signed a deal with the British Empire in June 1774 to secure outside support.
[8] When Sulu despatch a force under the command of Datu Teting to attack Balambangan in 1775, its leaders sought safety in Labuan after the British quickly established a presence in Brunei.
[8] When the two forces clashed, Datu Teting surrendered and his troops fled back to Sulu after learning that the warriors of Brunei, led by Pengiran Temenggong Ampa, were far too strong for them to defeat.
[5] Despite Labuan's offer, the British left Brunei in 1777 due to the financial collapse of Balambangan, losing the entire East India Company.
Batu 1½, Jalan Tutong, Bandar Seri Begawan, the Royal Mausoleum houses the tombstone of Omar Ali Saifuddin I.