Kalhan composed Rajatarangini between 1147 CE to 1149 CE during the reign of last Lohar dynasty ruler, Jaisingh. Kalhad’s Rajatarangini is considered to be the first authentic treatise of the history of India. Kalhad composed Rajatarangini to fulfill various objectives which can be mentioned as follows:
1. Kalhan wanted to provide information about ancient royal dynasties.
2. Entertainment of the readers and learning from the past.
3. He wanted to describe the entire geneology of the dynasties which ruled ever Kashmir.
4. The uncertainity and chaos which prevailed in those times, motivated Kalhad to compose this.
5. He intended to reveal the mortality of wordly life and physical luxury.
6. He wanted people to learn from the mistakes of the past.