Ngah Ibrahim was a Malay headman who succeeded his father Long Jaafar as headman and administrator of the district of Larut upon the death of his father in 1885. By the time of Sultan Ismail of Perak, Ngah Ibrahim had quarrelled with Raja Muda Abdullah, the son of the former sultan who had been passed over by the Royal Council in favour of Ismail. Abdullah sought to engineer a situation where the British would recognise him as Sultan and sought the services and recognition of Ngah Ibrahim. In return he appointed Ngah Ibrahim as Orang Kaya Mantri of Larut in 1858. The two of them had a falling-out and embroiled miners in the Larut area in their dispute which eventually resulted in intervention by the British, the treaties at Pangkor for the cessation of hostilities between the miners, the recognition of Abdullah as Sultan of Perak and the appointment of a British Resident whose advice must be asked and acted upon on all questions except those touching Malay religion and custom.
- Salma Nasution Khoo & Abdur-Razzaq Lubis (2005). Kinta Valley: Pioneering Malaysia's Modern Development. Areca Books. ISBN 98-342-1130-9.
- Di mana Ngah Ibrahim disemadi? -- Perak, dakwa anak, Utusan Malaysia 4 September 2006
- A History of Malaysia By Leonard Y. Andaya published by Palgrave Macmillan, 1984, ISBN 0-312-38121-2, ISBN 978-0-312-38121-9
- Papers on Malay Subjects - Page 91 - by Richard James Wilkinson published by BiblioBazaar, LLC, 2008, ISBN 0-559-62546-4, ISBN 978-0-559-62546-6
- Triad Societies: Western Accounts of the History, Sociology and Linguistics of Chinese Secret Societies, Kingsley Bolton, ISBN 0-415-15353-0, ISBN 978-0-415-15353-9
- Southeast Asia: a historical encyclopedia, from Angkor Wat to East Timor, Volume 3 by Keat-Gin Ooi published by ABC-CLIO, 2004, ISBN 1-57607-770-5, ISBN 978-1-57607-770-2