ramanujam was elected at the 1st parliamentary election, held between 23 august 1947 and 20 september 1947, representing the ceylon india congress in the alutnuwara electorate, securing 46.6% of the total vote, 1,437 votes ahead of his nearest rival.