Sikhism achieved a series of military victories and created a Sikh Empire in 1799. The Sikh empire had its capital in Lahore, spread over almost comprising what is now northwestern Indian subcontinent. The Sikh Empire entered into a treaty with the colonial British powers, with each side recognizing Sutlej River as the line of control and agreeing not to invade the other side. Ranjit Singh's most lasting legacy was the restoration and expansion of the Harmandir Sahib, most revered Gurudwara of the Sikhs, with marble and gold, from which the popular name of the "Golden Temple" is derived. After the death
Guru Granth Sahib together Akbar, the Mughal Emperor, received a report that the Adi Granth contained passages vilifying Islam. Therefore, while travelling north, he stopped en route and asked to inspect it. Baba Buddha and Bhai Gurdas brought him a copy of the Adi Granth as it existed then. After choosing three random passages to be read, Akbar decided that this report had been false. In 1604, Adi Granth was completed and installed at the Harmandir Sahib, with Baba Buddha as the first "granthi", or reader. Since communities of Sikh disciples were scattered all over northern India, copies of the holy scripture needed