King Rama II composed two episodes of the Ramakian for classical drama purposes and wrote several other epic poems, including the Inao (อิเหนา), a romance with a Javanese background. The Inao is a treasure trove of historical information on early 19th century Thai customs, habits, and manners and figures prominently in the repertoire of classical drama.