In ancient times, manuscripts were written on palm leaves, tree barks, parchment vellum and terracotta plates and preserved at monasteries known as "viharas". The Hussain Shahi dynasty established royal libraries during the Bengal Sultanate. Libraries were established in each district of Bengal by the zamindar gentry during the Bengal Renaissance in the 19th century. The trend of establishing libraries continued until the beginning of World War II. In 1854, four major public libraries were opened, including the Bogra Woodburn Library, the Rangpur Public Library, the Jessore Institute Public Library and the Barisal Public Library.