The Pallava kings were patrons of Sanskrit language and literature. Kanchi, the capital of the Pallavas, was a centre of Sanskrit studies. Poet Bharavi, the author of Kiratarjuniyam, was the court poet of Pallava King Singhabahu or Singhavishnu. Sanskrit scholar Dandin was the greatest litterateur of that period. Pallava King Mahendravarma was himself a great man of letters.