When Baba Gurditta Passed away Dhir Mal Considering himself as the eldest son of Baba Gurditta Claimed as the real heir to the Gurgaddi. But he Knew well that Guru Hargobind Sahib would not consider him capable for the Gurgaddi. For this purpose he met king Shahjahan. But when Guru Hargobind sahib got information about such conspiracies and intrigues of Dhir Mal he said,” Dhir Mal is an incarnation of Pirthia.” The Sikhs were well aware about the cunning nature of the Dhir Mal they had concluded that the Guru Would never offer him the Gurgaddi. The Guru Liked very much the younger son of Baba Gurditta. He Always Kept him with him he was training him under his own supervision. Guru Har Rai was a very affable boy and he was spening more time in the study of Gurbani. When Guru Hargobind sahib perceived that his last time was near, he made up his mind to bestow Gurgaddi on Sri Har Rai. He considered him most suitable for that responsibility. He sent messages to selected sikhs and Masands to reach Kiratpur. He installed Guru Har Rai on Gurgaddi on 08 august 1643. He Placed before him Five paisa, a coconut and the Granth and bowed before him. Baba Bhana donned him with a beautiful sword and tied aigrette to his turban. Then Baba Bhana himself bowed before Guru Har Rai. The sikhs and Masands bowed before him tury by turn.
Then Addressing the congregation the Guru Said,” you should now consider Guru Har Rai as my form. The Guru is a light and now the light of the Guru has merged in Har Rai.”
Then he Again bowed before Guru Har Rai and asked sooraj Mal, Ani Rai and (Guru) Tegh Bahadur to do the same. They also came turn by turn and bowed him with great reverence. No one objected or Boycotted.
After fixing the responsibility of Gurgaddi to Guru Har Rai, Guru Hargobind was spending his most time in meditation. When the time of merger in the supreme light came near he addressed the sikhs and his relatives and said,” I advise you not to weep on my death, instead recite the Gurbaani.”
One day when he was hearing the singing of the Gurbaani, his light merged with the Supreme light. He passed away on 3rd march 1644 A.D.