Suraj Mall, son of Guru Hargobind, was born to Mata Maha Devi Marvahi, at Amritsar on 9 June 1617. He was married on 23 April 1629 to Khem Kaur daughter of Bhai Prem Chand of Kartarpur, in presentday Jalandhar district of the Punjab. A son, Dip Chand, was born to them in 1633. Suraj Mall's death followed that of his mother, Mata Marvahi, in 1645. Dip Chand had two sons, Gulab Rai (b. 1660) and Shyam Chand (b. 1662), who received the rites of Khalsa and became Gulab Singh and Shyam Singh, respectively. The Sodhis of Anandpur are descendants of the latter.