 In 1969 Swami was first elected as the member of Uttar Pradesh Legislative Assembly from the Dehradun constituency.In 1984, he was elected into the Uttar Pradesh Legislative Council from the graduate constituency of Garhwal and Kumaon.Swami represented the constituency of Garhwal and Kumaon for three years.