Guru Tegh Bahadur was the ninth Guru of the Sikhs. He was born in Amritsar in 1621, the youngest son of Guru Hargobind, and as a child he was called Tyag Mal. He became Guru in 1664. He founded the town of Anandpur in the foothills of Punjab, travelled widely as far as Bengal and Assam, and composed hymns about steadiness of mind, freedom from fear, and freedom from hatred. Many of these hymns are included in the Guru Granth Sahib.
According to Sikh historical tradition, in 1675 a group of Kashmiri Pandits, led by Pandit Kirpa Ram, came to Anandpur. They said that officials in Kashmir were pressing them to give up their faith and convert. They were Hindus, not Sikhs, but they came to ask the Guru for help. Guru Tegh Bahadur decided that he would stand up for their right to follow their own religion, even though it was not his own.