Ranjit has been active in Nepalese politics since the "civil disobidience movement" (bhadra awagya andolan) in 1954 (2014 Bikram Sambat).
He was amongst the first group of activists imprisoned in the coup d'état of 1960 (2017 Bikram Sambat) by King Mahendra for advocating democracy and supporting elected Prime Minister, Bishweshwar Prasad Koirala.
During King Mahendra's direct rule after coup d'etat of 1960 (1 Poush 2017), he was accused of Sedition (Nepali:राजद्रोह) for trying to establish democratic political system against King's direct autocratic system due to which he was imprisoned for around a decade in various prisons in Nepal and spent many years in exile along with leaders like Bishweshwar Prasad Koirala, Girija Prasad Koirala, Ganesh Man Singh and Krishna Prasad Bhattarai.
Ranjit was active to restore democracy in Nepal during entire 30-year period of autocratic rule by Nepalese Monarchy called as Panchayati Regime.
During the partyless Panchayati Regime (1960–1990), he spent many years in exile in India along with Supreme Leader of Nepali Congress Ganesh Man Singh.
After restoration of democracy, he ran for election for Member of Parliament in 1994 (2051 Bikram Sambat) from Kathmandu Constituency No.
[3] Ranjit was an elected member of the Nepali Congress parliamentary party working committee.
[8] He was the chief guest in an interaction programme jointly organized by the Russian Center for Science and Culture and the Nepal Council of World Affairs in February 2009.