It was the result of a multi-day conference organised by Andrew Clarke, the Governor of the Straits Settlements, to solve two problems: the Larut War, and Sultanship in Perak.
Tan, together with an English merchant in Singapore, drafted a letter to Governor Sir Andrew Clarke which Abdullah signed.
The letter expressed Abdullah's desire to place Perak under British protection, and "to have a man of sufficient abilities to show (him) a good system of government.
Mantri Ngah Ibrahim arrived the next day, escorted by his lawyer R. C. Woods and his security chief T. C. Speedy.
The second day of the conference (17 January) was the meeting between Clarke and the Malay chiefs, whose opinions were individually considered before the candidate for the sultanship was decided.
As a result, Raja Abdullah was made sultan, and Sir James W. W. Birch was appointed as Perak's first British Resident after the treaty came into force.
[citation needed] Clarke arrived in November 1873 and he put Perak, Selangor and Sungei Ujong under British protection within a year, and Pahang in 1888.