The significance and importance of laughter, wit and humour was known to the emperors and kings since ancient times. So if emperor Akbar had Birbal, Krishnadevaraya of the Vijayanagara empire in the south had Tenali Raman.
Read this post on rajeevianlinesandverses.blogspot.com