 However, he was attracted to the Indian Independence movement and came back to Kerala after resigning.Inspired by the socialistic philosophy of Jaya Prakash Narayan and Dr. Ram Manohar Lohia, he joined the Socialist Party when it was formed.He contested in the first election in Madras assembly from Hosdurg against the Melath Narayanan Nambiar in 1951.