He came into contact with Masterda Surya Sen and his revolutionary group while studying in college.He took part in the Chittagong Uprising led by the Indian Republican Army.After the encounter he, along with his friends, retired to the village with great difficulty after successfully evading police and military surveillance.They tried to escape and entered a bamboo grove in Kalarpole, Chittagong District.The fourth Swadeshranjan Ray died in police custody next day.