 In 1887, Ray married Surabala Devi, daughter of Pratap Chandra Majumdar, a renowned homeopath physician.He was appointed the First Inspector of the Excise Department in 1894, the Assistant Director, Land Records and Agriculture Department in 1898 and the Assistant to the Commissioner, Excise Department in 1900.Later again he was appointed Inspector of Excise Department.