Key contemporary sources for the reign of Harsha (7th century AD) include the Harshacharita, a biography written by his court poet Banabhatta, and the detailed travelogue of the Chinese Buddhist pilgrim Hieun Tsang (Xuanzang) who visited India during Harsha's reign. Harisena was the court poet of Samudragupta (4th century AD). Kalidasa was a playwright and poet associated with the Gupta period (likely 4th/5th century AD). Kalhana was the author of Rajatarangini, a history of Kashmir written in the 12th century AD, which mentions Harsha but is not a primary source for his time or overall reign.