Guru Har Rai was born to Ananti (also known as Nihal) and Baba Gurditta into a
Sodhi Khatri household. His father died when he was 8 years old. At age 10, in 1640, Guru Har Rai was married to Mata Kishan Devi (sometimes also referred to as Sulakhni) the daughter of Daya Ram. They had one daughter
Rup Kaur and two sons, Ram Rai and Har Krishan (the latter of whom became the eighth
Guru). Shortly after his succession to guruship, the Mughals under the command of Najabat Khan invaded the territory of Tara Chand of Hindur, capturing the ruler himself. Thus, Har Rai left Kiratpur and travelled to Thapal in
Sirmur (Nahan, ruled by Raja Karam Prakash) to give his first teaching, in the form of a
vak (commandment). This account of the guru travelling to Thapal can be found both in the
Dabestan-e Mazaheb and it is also recorded in a note within Jograj's
Ād Granth manuscript. Guru Hargobind had advised to not get involved in military conflict with the Mughals and rather focus on religious teaching, therefore Guru Har Rai did not interfere in the conflict between Hindur and the Mughals. Guru Har Rai had a brother. His elder brother
Dhir Mal had gained encouragement and support from
Shah Jahan, with free land grants and Mughal sponsorship. Dhir Mal attempted to form a parallel Sikh tradition and criticized his grandfather and sixth Guru, Hargobind. The sixth Guru disagreed with Dhir Mal, and designated the younger Har Rai as the successor. Authentic literature about Guru Har Rai life and times are scarce, he left no texts of his own and some Sikh texts composed later spell his name as "Hari Rai". Some of the biographies of Guru Har Rai written in the 18th century such as by Kesar Singh Chhibber, and the 19th-century Sikh literature are highly inconsistent.
Dara Shikoh Guru Har Rai provided medical care to
Dara Shikoh, possibly when he had been poisoned by Mughal operatives. After Aurangzeb won the succession war in 1658, he summoned Guru Har Rai in 1660 to explain his support for the executed Dara Shikoh. Guru Har Rai sent his elder son Ram Rai to represent him. Aurangzeb kept the 13 year old Ram Rai as hostage, questioned Ram Rai about a verse in the Adi Granth – the holy text of Sikhs. Aurangzeb claimed that it disparaged the Muslims. Ram Rai changed the meanings of the verse to appease Aurangzeb instead of standing by the Sikh scripture, an act for which Guru Har Rai excommunicated his elder son, and nominated the younger Har Krishan to succeed as the next Guru of Sikhism.
Influence He started several public singing and scripture recital traditions in Sikhism. The
katha or discourse style recitals were added by Guru Har Rai to the
sabad kirtan singing tradition of Sikhs. He also added the
akhand kirtan or continuous scripture singing tradition of Sikhism, as well as the tradition of
jotian da kirtan or collective folk choral singing of scriptures. introduced the
dasvandh ("the tenth" of income) system of revenue collection in the name of Guru and as pooled community religious resource, and the famed
langar tradition of Sikhism where anyone, without discrimination of any kind, could get a free meal in a communal seating. He appointed new masands such as Bhai Jodh, Bhai Gonda, Bhai Nattha, Bhagat Bhagwan (for eastern India), Bhai Pheru (for Rajathan), Bhai Bhagat (also known as Bairagi), as the heads of Manjis.
Death and succession He appointed his 5-year-old youngest son
Har Krishan as the eighth Guru of the Sikhs before his death. == Environmental stewardship ==