The Ramacharitam is a Sanskrit epic poem written in Arya metre by a Bengali poet named Sandhyakar Nandi (c. 1084–1155 CE) during the Pala Empire.
This work simultaneously narrates the story of the Ramayana and the Pala king Ramapala.It is mainly famous for describing the Varendra rebellion – a very critical event in early mediaeval history of Bengal.
[2][3] The poem, in four cantos, details the historical events in Bengal from the assassination of the Pala emperor Mahipala II by Divya, a rebel Kaivarta (Mahishya) samanta up to the reign of Madanapala in 215 verses, employing double entendre.
[4] Whilst the causes of the battle are not discussed, the defeat is blamed on Mahipala's poor strategy of war set against the explicit advice of councilors.
[4] Though biased in favour of Ramapala, the work remains the only literary source for middle-late Pala history including Varendra Rebellion.