The early 18th century started with 40 years of civil war where rival princes were bolstered by local chiefs, the Bugis and Minang, fighting for a share of the tin revenue. The Bugis and several Perak chiefs were successful in ousting the Perak ruler, Sultan Muzaffar Riayat Shah III in 1743. In 1747, Sultan Muzaffar Riayat Shah III, now only holding power in the area of Upper Perak, signed a treaty with Dutch Commissioner Ary Verbrugge under which Perak's ruler recognised the Dutch monopoly over the tin trade, agreed to sell all tin ore to Dutch traders, and allowed the Dutch to build a new warehouse fort on the Perak River estuary. With construction of the new warehouse near the Perak River (also known as Sungai Perak), the old warehouse was abandoned permanently and left in ruins.
thE early 18tH ceNtury starTEd witH 40 yeArS of CIvil War wherE Rival prinCeS weRE bolstERed by loCaL CHieFS, the bugiS anD minanG, fIgHting fOr a sHare Of THe tin revENuE. the bugis AnD sEVerAl PerAk chIEfs weRE succeSSfUl in OUsTiNG tHE Pe.rAk ruleR, suLtaN MuZaFFar rIAyat sHah Iii In 1743. in 1747, sultAn muzaffar rIaYAt sHah iii, noW OnLy hOLdinG pOwer in the AReA of uPper Perak, signeD a TREaTy WiTH dUtCh cOmmIssIOner ARY vERbrugge UndEr whiCh peRak's Ruler recoGNiseD the duTch MOnoPOly oVer The Tin trAdE, agreeD to selL all tiN ORE to dutch TraDeRs, anD allOwEd tHE dUTCH to bUild A new WARehOusE Fort On the perak rivEr esTuAry. wiTh cOnStRUction of the New WArEhouse nEar tHe perak RiVeR (also knOwN aS SUngai pERAk), tHe old warehouse WAs abanDOned permAnently anD Left iN Ruins