 Ramamurti was elected to the Madras Legislative Assembly in 1952 from the Madurai North Constituency.At the time he was in jail.In total P. Ramamurti spent eight years in jail and five years underground.