甲必丹
When the Selangor Civil War broke out, Kapitan Cina of Kuala Lumpur Yap Ah Loy was faced with internecine fighting among dissident Chinese groups as well as attacks from other Malay factions. The two largest Chinese gangs, the Kuala Lumpur-based Hai San and the Selayang-based Ghee Hin, had engaged in fighting to gain control of tin production in the town. The Chinese factions would eventually join opposing sides in the civil war, with the Ghee Hin siding with Raja Mahdi, and the Hai San with Yap Ah Loy siding with Tengku Kudin.