During Sultan Abdul Samad's reign, the Klang War broke out between Raja Abdullah and the previous ruler of Klang, Raja Mahdi. The involvement of British Empire in the war marks as their first involvement in Selangor's politics. The first British resident in Selangor, James Guthrie Davidson was also appointed during his reign.[16] Sultan Abdul Samad died at the age of 93 in February 1898 and was buried at Makam Sultan Abdul Samad in Jugra.[17]