In 1873, one of the contenders to the Perak throne, Raja Abdullah, sought the help of the Ghee Hins. In exchange for their support, he promised to give them the mines and to pay for the war against the Hai Sans, who supported Raja Ismail, another claimant to the throne. With the different groups of miners taking sides in the succession dispute, a major civil war broke out in the Larut area in 1873.