After the death of his father Karpal, Ram was nominated by the DAP as Pakatan Rakyat's candidate for the Bukit Gelugor by-election.
After the death of his father Karpal, Ram was elected as the member of Malaysian Parliament for Bukit Gelugor constituency. He was the only Pakatan Rakyat's candidate for the Bukit Gelugor by-election.