Dharmaretnam was elected to the State Council of Ceylon in September 1938 following the death of S. O. Canagaratnam.[2][4][5] He represented the Batticaloa South constituency until November 1943 when he resigned due to ill-health.[2][6]
Dharmaretnam was in an abusive relationship with his wife Alagamma and was known to have had extra-marital affairs.[1] After slitting his wrist Dharmaretnam went to into the jungle to die.[1] He didn't die and was found a few days later in a jungle clearing, delirious, his physical and mental health irrecoverably damaged.[1] Sick and dependent on others, he died seven years later in 1952 at a Colombo hospital.[1]